mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove old ip information so that track6 config does not get confused. Fixes #2627
This commit is contained in:
parent
efd60dc4c3
commit
afe4f2da50
@ -3022,7 +3022,6 @@ function interface_track6_configure($interface = "lan", $wancfg) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
function interface_track6_6rd_configure($interface = "lan", $lancfg) {
|
||||
global $config, $g;
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user