aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ppp-on-up7
1 files changed, 1 insertions, 6 deletions
diff --git a/ppp-on-up b/ppp-on-up
index f270847..629e340 100644
--- a/ppp-on-up
+++ b/ppp-on-up
@@ -9,12 +9,7 @@
:local IntName [ / interface get $Interface name ];
:log info ("PPP interface " . $IntName . " is up.");
-:local DhcpClient [ / ipv6 dhcp-client find where interface=$IntName ];
-:if ([ :len $DhcpClient ] > 0) do={
- / ipv6 dhcp-client disable $DhcpClient;
- :delay 1s;
- / ipv6 dhcp-client enable $DhcpClient;
-}
+/ ipv6 dhcp-client release [ find where interface=$IntName !disabled ];
:local Scripts {
"update-tunnelbroker"