diff options
author | Ermal <eri@pfsense.org> | 2013-03-05 19:53:06 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-03-05 19:53:25 +0000 |
commit | afe4f2da5079fc68cd0fcdb8d5ba65b173dd5726 (patch) | |
tree | fc89785c37b794de44abf97db30cc4f432deba47 /etc/rc.newwanipv6 | |
parent | efd60dc4c3c74d6b839fba7e9758079469735f70 (diff) | |
download | pfsense-afe4f2da5079fc68cd0fcdb8d5ba65b173dd5726.zip pfsense-afe4f2da5079fc68cd0fcdb8d5ba65b173dd5726.tar.gz |
Remove old ip information so that track6 config does not get confused. Fixes #2627
Diffstat (limited to 'etc/rc.newwanipv6')
-rwxr-xr-x | etc/rc.newwanipv6 | 3 |
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); |