|
@@ -78,6 +78,12 @@ proto_directip_setup() {
|
|
|
json_add_string proto "dhcp"
|
|
json_add_string proto "dhcp"
|
|
|
ubus call network add_dynamic "$(json_dump)"
|
|
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
|
|
return 0
|
|
|
}
|
|
}
|
|
|
|
|
|