comgt: fireup a dhcpv6-client for directip as well
SVN-Revision: 42670
This commit is contained in:
parent
45bd5ebfef
commit
e5190a77e1
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue