ppp-on-up: release only bound ipv6 dhcp clients

This commit is contained in:
Christian Hesse 2025-01-09 13:20:45 +01:00
parent ce2d090e99
commit 98791f48fd

View file

@ -28,7 +28,7 @@
:local IntName [ /interface/get $Interface name ];
$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={
:local ScriptName [ /system/script/get $Script name ];