|
|
|
@ -18,8 +18,8 @@ proto_dhcpv6_setup() { |
|
|
|
|
local config="$1" |
|
|
|
|
local iface="$2" |
|
|
|
|
|
|
|
|
|
local reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix iface_dslite |
|
|
|
|
json_get_vars reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix iface_dslite |
|
|
|
|
local reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix iface_dslite ifaceid |
|
|
|
|
json_get_vars reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix iface_dslite ifaceid |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Configure |
|
|
|
@ -35,6 +35,8 @@ proto_dhcpv6_setup() { |
|
|
|
|
|
|
|
|
|
[ "$norelease" = "1" ] && append opts "-k" |
|
|
|
|
|
|
|
|
|
[ -n "$ifaceid" ] && append opts "-i$ifaceid" |
|
|
|
|
|
|
|
|
|
for opt in $reqopts; do |
|
|
|
|
append opts "-r$opt" |
|
|
|
|
done |
|
|
|
|