mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Check what to do on the interface when hitting apply options button.
This commit is contained in:
parent
c73bd8f088
commit
2dddf4be0d
@ -266,7 +266,10 @@ if ($_POST['apply']) {
|
||||
else {
|
||||
unlink_if_exists("{$g['tmp_path']}/config.cache");
|
||||
clear_subsystem_dirty('interfaces');
|
||||
interface_configure($if, true);
|
||||
if (isset($pconfig['enable']))
|
||||
interface_configure($if, true);
|
||||
else
|
||||
interface_bring_down($if);
|
||||
|
||||
/* restart snmp so that it binds to correct address */
|
||||
services_snmpd_configure();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user