diff --git a/dhcpv6-client-lease.rsc b/dhcpv6-client-lease.rsc index 3f79d63c..2a70a977 100644 --- a/dhcpv6-client-lease.rsc +++ b/dhcpv6-client-lease.rsc @@ -33,7 +33,8 @@ "na-address"=$"na-address"; "na-valid"=$"na-valid"; "pd-prefix"=$"pd-prefix"; - "pd-valid"=$"pd-valid" }; + "pd-valid"=$"pd-valid"; + "options"=$"options" }; :local RunOrder ({}); :foreach Script in=[ /system/script/find where source~("\n# provides: dhcpv6-client-lease\\b") ] do={ diff --git a/doc/dhcpv6-client-lease.md b/doc/dhcpv6-client-lease.md index dc79e560..6e8cb28c 100644 --- a/doc/dhcpv6-client-lease.md +++ b/doc/dhcpv6-client-lease.md @@ -34,6 +34,7 @@ available with a global variable. This code is required in child script: :local NaValid [ $EitherOr $"na-valid" ($DHCPv6ClientLeaseVars->"na-valid") ]; :local PdPrefix [ $EitherOr $"pd-prefix" ($DHCPv6ClientLeaseVars->"pd-prefix") ]; :local PdValid [ $EitherOr $"pd-valid" ($DHCPv6ClientLeaseVars->"pd-valid") ]; + :local Options [ $EitherOr $"options" ($DHCPv6ClientLeaseVars->"options") ]; The values are available under different name then, use `$PdPrefix` instead of `$"pd-prefix"`, and so on. The resulting script supports both, being a