diff options
author | Christian Hesse <mail@eworm.de> | 2019-01-04 20:30:17 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2019-01-04 20:32:14 +0100 |
commit | 0abb9a1848aa63458d8604968dc9d72b3382686e (patch) | |
tree | 187f82e9ab3aa391bb351f1f854c42018b75b991 | |
parent | 63406dafbe67ea1b5445cefcd1043fa69d1e20c9 (diff) |
ppp-on-up: just release ipv6 lease
This should get a new lease immediately.
-rw-r--r-- | ppp-on-up | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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" |