X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fnetwork%2Futils%2Fcomgt%2Ffiles%2Fdirectip.sh;h=66d92a7c2cc7d9fbbb379e5ae07a4eac0934b15e;hb=0d1b5a1fd2359949cd7b3cddce76f6f248758ed9;hp=a633fa2e152ef08cfcfde67ab5ab8069fc89d2a9;hpb=22045c383dc32f620a5da8909a98a58320926e02;p=openwrt%2F.git diff --git a/package/network/utils/comgt/files/directip.sh b/package/network/utils/comgt/files/directip.sh index a633fa2e15..66d92a7c2c 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)"