mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fixes #1522. Call interface reconfigure so we bring down the interface and than re-configure it.
This commit is contained in:
parent
f51d4f989e
commit
bb4fcffd7d
@ -310,7 +310,7 @@ if ($_POST['apply']) {
|
||||
$toapplylist = unserialize(file_get_contents("{$g['tmp_path']}/.interfaces.apply"));
|
||||
foreach ($toapplylist as $ifapply) {
|
||||
if (isset($config['interfaces'][$ifapply]['enable']))
|
||||
interface_configure($ifapply, true);
|
||||
interface_reconfigure($ifapply);
|
||||
else
|
||||
interface_bring_down($ifapply);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user