summaryrefslogtreecommitdiff
path: root/package/network/utils/comgt/files
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2014-09-26 13:58:40 +0000
committerSteven Barth <cyrus@openwrt.org>2014-09-26 13:58:40 +0000
commite5190a77e1f87787675f5eddd66e2d44596fe79c (patch)
tree1bc9b51228475c464bf652d43c0a1f8cbab58e0a /package/network/utils/comgt/files
parent45bd5ebfef97fb1d33d30118ae2f5e69f921912d (diff)
downloadmtk-20170518-e5190a77e1f87787675f5eddd66e2d44596fe79c.zip
mtk-20170518-e5190a77e1f87787675f5eddd66e2d44596fe79c.tar.gz
mtk-20170518-e5190a77e1f87787675f5eddd66e2d44596fe79c.tar.bz2
comgt: fireup a dhcpv6-client for directip as well
SVN-Revision: 42670
Diffstat (limited to 'package/network/utils/comgt/files')
-rw-r--r--package/network/utils/comgt/files/directip.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/network/utils/comgt/files/directip.sh b/package/network/utils/comgt/files/directip.sh
index 6b9326d..2bfdf80 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
}