mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
When disabling an interface bring it down also.
This commit is contained in:
parent
0c56453c8c
commit
0847d1b904
@ -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}");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user