summaryrefslogtreecommitdiff
path: root/package/network
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2014-10-09 07:35:28 +0000
committerSteven Barth <cyrus@openwrt.org>2014-10-09 07:35:28 +0000
commit3f700643fa187fcaf953c5993f3deddf6546847b (patch)
tree475f20ea2c6b06414a20c1b241dba6443dc087a7 /package/network
parent195a6188778fdb9ad805b6de50223018bcc2a393 (diff)
downloadmtk-20170518-3f700643fa187fcaf953c5993f3deddf6546847b.zip
mtk-20170518-3f700643fa187fcaf953c5993f3deddf6546847b.tar.gz
mtk-20170518-3f700643fa187fcaf953c5993f3deddf6546847b.tar.bz2
ppp: remove ugly ipv6-workaround
This is not needed after all: Omitting option ipv6 or setting it to 'auto' will fire up a dhcpv6 subprotocol (this was added). Setting ipv6 to 1 will only cause the IPv6 link to be brought up and an accompanying dhcpv6 or static interface with ifname @wan can be used to configure addresses. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42859
Diffstat (limited to 'package/network')
-rwxr-xr-xpackage/network/services/ppp/files/lib/netifd/ppp-up9
1 files changed, 0 insertions, 9 deletions
diff --git a/package/network/services/ppp/files/lib/netifd/ppp-up b/package/network/services/ppp/files/lib/netifd/ppp-up
index 286fc5f..fa14550 100755
--- a/package/network/services/ppp/files/lib/netifd/ppp-up
+++ b/package/network/services/ppp/files/lib/netifd/ppp-up
@@ -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