ppp-on-up: just release ipv6 lease

This should get a new lease immediately.
This commit is contained in:
Christian Hesse 2019-01-04 20:30:17 +01:00
parent 63406dafbe
commit 0abb9a1848

View file

@ -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"