mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
interfaces: interface_configure() checks for enabled
This commit is contained in:
parent
c32f0c0be4
commit
533315208c
@ -550,9 +550,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$toapplylist = unserialize(file_get_contents('/tmp/.interfaces.apply'));
|
||||
foreach ($toapplylist as $ifapply => $ifcfgo) {
|
||||
interface_bring_down($ifapply, $ifcfgo);
|
||||
if (isset($config['interfaces'][$ifapply]['enable'])) {
|
||||
interface_configure(false, $ifapply, true);
|
||||
}
|
||||
interface_configure(false, $ifapply, true);
|
||||
}
|
||||
|
||||
system_routing_configure();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user