aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/comgt
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/comgt')
-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 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
}