diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-10-09 14:50:22 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-10-09 14:50:22 -0400 |
commit | 1682d08e3e80b36c8d4cae1cab27b70bee4d557f (patch) | |
tree | d292396d751bd72092091c76ca47f9afa8644098 /config/snort/snort_log_mgmt.php | |
parent | db4778c2478f525ebc24d351472c036187fd4a81 (diff) | |
download | pfsense-packages-1682d08e3e80b36c8d4cae1cab27b70bee4d557f.tar.gz pfsense-packages-1682d08e3e80b36c8d4cae1cab27b70bee4d557f.tar.bz2 pfsense-packages-1682d08e3e80b36c8d4cae1cab27b70bee4d557f.zip |
Wrap calls to sync_snort_package_config() with conf_mount_rw().
Diffstat (limited to 'config/snort/snort_log_mgmt.php')
-rw-r--r-- | config/snort/snort_log_mgmt.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/snort/snort_log_mgmt.php b/config/snort/snort_log_mgmt.php index 4415863b..0e38afc2 100644 --- a/config/snort/snort_log_mgmt.php +++ b/config/snort/snort_log_mgmt.php @@ -116,7 +116,9 @@ if ($_POST["save"] || $_POST['apply']) { if ($_POST['enable_log_mgmt'] != 'on') { $config['installedpackages']['snortglobal']['enable_log_mgmt'] = $_POST['enable_log_mgmt'] ? 'on' :'off'; write_config("Snort pkg: saved updated configuration for LOGS MGMT."); + conf_mount_rw(); sync_snort_package_config(); + conf_mount_ro(); /* forces page to reload new settings */ header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); @@ -148,7 +150,9 @@ if ($_POST["save"] || $_POST['apply']) { $config['installedpackages']['snortglobal']['event_pkts_log_retention'] = $_POST['event_pkts_log_retention']; write_config("Snort pkg: saved updated configuration for LOGS MGMT."); + conf_mount_rw(); sync_snort_package_config(); + conf_mount_ro(); /* forces page to reload new settings */ header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); |