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
[ -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