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_preprocessors.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'config/snort/snort_preprocessors.php') diff --git a/config/snort/snort_preprocessors.php b/config/snort/snort_preprocessors.php index d1b3e5be..26b37e81 100755 --- a/config/snort/snort_preprocessors.php +++ b/config/snort/snort_preprocessors.php @@ -514,8 +514,6 @@ elseif ($_POST['Submit']) { write_config(); } - conf_mount_rw(); - /*************************************************/ /* Update the snort.conf file and rebuild the */ /* rules for this interface. */ @@ -528,8 +526,6 @@ elseif ($_POST['Submit']) { if ($natent['preproc_auto_rule_disable'] == 'off') @unlink("{$disabled_rules_log}"); - conf_mount_ro(); - /*******************************************************/ /* Signal Snort to reload Host Attribute Table if one */ /* is configured and saved. */ -- cgit v1.2.3