mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
rc: specifically set $oldipv6 to be empty, need to test
This commit is contained in:
parent
43fa1b861a
commit
16ad45f8d5
@ -127,7 +127,7 @@ if (!is_ipaddrv6($oldipv6) || $curwanipv6 != $oldipv6 || !is_ipaddrv6($config['i
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
if (does_interface_exist($interface_real)) {
|
||||
if (is_ipaddrv6($oldipv6) && does_interface_exist($interface_real)) {
|
||||
mwexec("/sbin/ifconfig {$interface_real} inet6 {$oldipv6} delete");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user