Fixes #1522. Call interface reconfigure so we bring down the interface and than re-configure it.

This commit is contained in:
Ermal 2011-05-18 21:54:12 +00:00
parent f51d4f989e
commit bb4fcffd7d

View File

@ -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);
}