From ca4fa0c5015ac99627b8b34f6134e90bafde2b6f Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 9 Oct 2014 07:35:28 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42859 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/services/ppp/files/lib/netifd/ppp-up | 9 --------- 1 file changed, 9 deletions(-) (limited to 'package/network') diff --git a/package/network/services/ppp/files/lib/netifd/ppp-up b/package/network/services/ppp/files/lib/netifd/ppp-up index 286fc5f834..fa14550ec4 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 -- cgit v1.2.3