comgt: fireup a dhcpv6-client for directip as well

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42670 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Steven Barth
2014-09-26 13:58:40 +00:00
parent 83e01b374f
commit c3d564bd29

View File

@@ -78,6 +78,12 @@ proto_directip_setup() {
json_add_string proto "dhcp"
ubus call network add_dynamic "$(json_dump)"
json_init
json_add_string name "${interface}_dhcpv6"
json_add_string ifname "@$interface"
json_add_string proto "dhcpv6"
ubus call network add_dynamic "$(json_dump)"
return 0
}