From: Steven Barth Date: Fri, 26 Sep 2014 13:58:40 +0000 (+0000) Subject: comgt: fireup a dhcpv6-client for directip as well X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e5190a77e1f87787675f5eddd66e2d44596fe79c;p=openwrt%2Fstaging%2Fmans0n.git comgt: fireup a dhcpv6-client for directip as well SVN-Revision: 42670 --- diff --git a/package/network/utils/comgt/files/directip.sh b/package/network/utils/comgt/files/directip.sh index 6b9326ddc9..2bfdf80516 100644 --- a/package/network/utils/comgt/files/directip.sh +++ b/package/network/utils/comgt/files/directip.sh @@ -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 }