From af4460ff3f18dff763e0a493ac71be37dd814435 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Mon, 13 Jan 2014 10:51:45 -0500 Subject: Incorporate Ermal's comments -- use conf_mount_rw() only where needed. --- config/snort/snort_rulesets.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'config/snort/snort_rulesets.php') diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php index dc37cb10..9c14392d 100755 --- a/config/snort/snort_rulesets.php +++ b/config/snort/snort_rulesets.php @@ -145,7 +145,6 @@ if ($_POST["Submit"]) { @unlink("{$snortdir}/snort_{$snort_uuid}_{$if_real}/rules/{$flowbit_rules_file}"); } - conf_mount_rw(); write_config(); /*************************************************/ @@ -155,7 +154,6 @@ if ($_POST["Submit"]) { $rebuild_rules = true; snort_generate_conf($a_nat[$id]); $rebuild_rules = false; - conf_mount_ro(); /* Soft-restart Snort to live-load new rules */ snort_reload_config($a_nat[$id]); -- cgit v1.2.3