comgt: fireup a dhcpv6-client for directip as well
authorSteven Barth <cyrus@openwrt.org>
Fri, 26 Sep 2014 13:58:40 +0000 (13:58 +0000)
committerSteven Barth <cyrus@openwrt.org>
Fri, 26 Sep 2014 13:58:40 +0000 (13:58 +0000)
SVN-Revision: 42670

package/network/utils/comgt/files/directip.sh

index 6b9326ddc903f227e33d4f74f05995d473b3be4d..2bfdf8051662a9bd8c4cbcd2a21b1765a3e8ea16 100644 (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
 }