summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanipv6
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.newwanipv6')
-rwxr-xr-xetc/rc.newwanipv63
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.newwanipv6 b/etc/rc.newwanipv6
index 09a6f45..5fd9c30 100755
--- a/etc/rc.newwanipv6
+++ b/etc/rc.newwanipv6
@@ -141,7 +141,8 @@ if (is_ipaddr($oldipv6) && $curwanipv6 == $oldipv6) {
openvpn_resync_all($interface);
}
exit;
-}
+} else
+ mwexec("/sbin/ifconfig {$interface_real} inet6 {$oldipv6} delete");
file_put_contents("{$g['vardb_path']}/{$interface}_cacheipv6", $curwanipv6);
OpenPOWER on IntegriCloud