ppp: remove ugly ipv6-workaround
[openwrt/openwrt.git] / package / network / services / ppp / files / lib / netifd / ppp-up
index 286fc5f83498c81a3492fb30d0a023f0a4507dec..fa14550ec40b3008393f58908b344d6d53d21157 100755 (executable)
@@ -19,12 +19,3 @@ proto_send_update "$PPP_IPPARAM"
                [ -x "$SCRIPT" ] && "$SCRIPT" "$@"
        done
 }
-
-if [ -n "$IPV6IFACE" -a "$(ifstatus $IPV6IFACE | jsonfilter -e @.device)" != "$IFNAME" ]; then
-       json_init
-       json_add_string name "${PPP_IPPARAM}_dhcpv6"
-       json_add_string ifname "@$PPP_IPPARAM"
-       json_add_string proto "dhcpv6"
-       json_close_object
-       ubus call network add_dynamic "$(json_dump)"
-fi