aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_alerts.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-07-24 19:51:34 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-07-24 19:51:34 -0300
commitc1b0c1d67fcd478f0f84d0ffb9bf3932108910e2 (patch)
tree57b93b76ff26b26abdee04fb89e8b38b3a4fb11b /config/snort/snort_alerts.php
parentb41124dfb83fdb2e5bb8e840f8390723ecda7a7d (diff)
parentbbcb47d8674c85e8aa6183951fc44c3416ac3487 (diff)
downloadpfsense-packages-c1b0c1d67fcd478f0f84d0ffb9bf3932108910e2.tar.gz
pfsense-packages-c1b0c1d67fcd478f0f84d0ffb9bf3932108910e2.tar.bz2
pfsense-packages-c1b0c1d67fcd478f0f84d0ffb9bf3932108910e2.zip
Merge pull request #688 from bmeeks8/snort-2.9.6.2-v3.1
Diffstat (limited to 'config/snort/snort_alerts.php')
-rwxr-xr-xconfig/snort/snort_alerts.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/snort/snort_alerts.php b/config/snort/snort_alerts.php
index 45443ec2..1c9d8492 100755
--- a/config/snort/snort_alerts.php
+++ b/config/snort/snort_alerts.php
@@ -283,7 +283,9 @@ if ($_POST['togglesid'] && is_numeric($_POST['sidid']) && is_numeric($_POST['gen
/* rules for this interface. */
/*************************************************/
$rebuild_rules = true;
+ conf_mount_rw();
snort_generate_conf($a_instance[$instanceid]);
+ conf_mount_ro();
$rebuild_rules = false;
/* Soft-restart Snort to live-load the new rules */