summaryrefslogtreecommitdiff
path: root/package/network/utils/comgt/files/directip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/comgt/files/directip.sh')
-rw-r--r--package/network/utils/comgt/files/directip.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/utils/comgt/files/directip.sh b/package/network/utils/comgt/files/directip.sh
index a633fa2..66d92a7 100644
--- a/package/network/utils/comgt/files/directip.sh
+++ b/package/network/utils/comgt/files/directip.sh
@@ -77,13 +77,13 @@ proto_directip_setup() {
proto_send_update "$interface"
json_init
- json_add_string name "${interface}_dhcp"
+ json_add_string name "${interface}_4"
json_add_string ifname "@$interface"
json_add_string proto "dhcp"
ubus call network add_dynamic "$(json_dump)"
json_init
- json_add_string name "${interface}_dhcpv6"
+ json_add_string name "${interface}_6"
json_add_string ifname "@$interface"
json_add_string proto "dhcpv6"
ubus call network add_dynamic "$(json_dump)"