When disabling an interface bring it down also.

This commit is contained in:
Ermal Luçi 2008-10-19 14:36:47 +00:00
parent 0c56453c8c
commit 0847d1b904

View File

@ -743,6 +743,7 @@ if ($_POST['apply']) {
}
} else {
unset($wancfg['enable']);
interface_bring_down($if);
write_config("Interface {$_POST['descr']}({$if}) is now disabled.");
touch($d_landirty_path);
header("Location: interfaces.php?if={$if}");