diff options
author | Steven Barth <steven@midlink.org> | 2014-09-26 13:58:40 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-09-26 13:58:40 +0000 |
commit | c3d564bd297ff7a093d16c41e3adfe5d8845bf29 (patch) | |
tree | 9b9f204d97f106462c6fe0d92095c0fac04eceb7 /package/network/utils/comgt/files | |
parent | 83e01b374fcad7ef19d924422efacaf46309a0f6 (diff) | |
download | master-187ad058-c3d564bd297ff7a093d16c41e3adfe5d8845bf29.tar.gz master-187ad058-c3d564bd297ff7a093d16c41e3adfe5d8845bf29.tar.bz2 master-187ad058-c3d564bd297ff7a093d16c41e3adfe5d8845bf29.zip |
comgt: fireup a dhcpv6-client for directip as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42670 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/comgt/files')
-rw-r--r-- | package/network/utils/comgt/files/directip.sh | 6 |
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 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 } |