mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
interfaces: address stripping works, avoid destroy... #2661
... as it can cause reconfigure loops, at least with a faulty config.
This commit is contained in:
parent
91ecc980bd
commit
c61ece51fe
@ -1068,11 +1068,6 @@ function interface_bring_down($interface = "wan", $ifacecfg = false)
|
||||
case 'dhcp6':
|
||||
killbypid("/var/run/dhcp6c_{$realifv6}.pid", 'TERM', true);
|
||||
break;
|
||||
case '6rd':
|
||||
case '6to4':
|
||||
/* oddity with 6rd/6to4 as we destroy on reconfigure anyway */
|
||||
legacy_interface_destroy($realifv6);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user