mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-04-17 02:29:38 +00:00
Compare commits
2 commits
4fbfb181d9
...
c2d458fa71
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c2d458fa71 | ||
|
|
0e833b1d87 |
2 changed files with 3 additions and 1 deletions
|
|
@ -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={
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue