mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-18 08:38:28 +02:00
ppp-on-up: release only bound ipv6 dhcp clients
This commit is contained in:
parent
ce2d090e99
commit
98791f48fd
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
:local IntName [ /interface/get $Interface name ];
|
:local IntName [ /interface/get $Interface name ];
|
||||||
$LogPrint info $ScriptName ("PPP interface " . $IntName . " is up.");
|
$LogPrint info $ScriptName ("PPP interface " . $IntName . " is up.");
|
||||||
|
|
||||||
/ipv6/dhcp-client/release [ find where interface=$IntName !disabled ];
|
/ipv6/dhcp-client/release [ find where interface=$IntName !disabled bound ];
|
||||||
|
|
||||||
:foreach Script in=[ /system/script/find where source~("\n# provides: ppp-on-up\r?\n") ] do={
|
:foreach Script in=[ /system/script/find where source~("\n# provides: ppp-on-up\r?\n") ] do={
|
||||||
:local ScriptName [ /system/script/get $Script name ];
|
:local ScriptName [ /system/script/get $Script name ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue