aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_barnyard.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2013-04-25 20:35:30 -0700
committerChris Buechler <cmb@pfsense.org>2013-04-25 20:35:30 -0700
commit2ab6e945f41e4c9ae915c4e72de81c70f3835bbf (patch)
treee5e715e5eb7359dcd483fc519970c71fd0657cb7 /config/snort/snort_barnyard.php
parenta5c7adf6e873e3b5248c57b99232478ccf21bf52 (diff)
parenta101dddc6796ba2e98645ea326bb87a529b8d19d (diff)
downloadpfsense-packages-2ab6e945f41e4c9ae915c4e72de81c70f3835bbf.tar.gz
pfsense-packages-2ab6e945f41e4c9ae915c4e72de81c70f3835bbf.tar.bz2
pfsense-packages-2ab6e945f41e4c9ae915c4e72de81c70f3835bbf.zip
Merge pull request #433 from bmeeks8/master
Snort Packge Update to ver 2.5.7 - Bug fixes and new features
Diffstat (limited to 'config/snort/snort_barnyard.php')
-rw-r--r--config/snort/snort_barnyard.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/snort/snort_barnyard.php b/config/snort/snort_barnyard.php
index 21763745..e1de3efd 100644
--- a/config/snort/snort_barnyard.php
+++ b/config/snort/snort_barnyard.php
@@ -32,7 +32,7 @@
require_once("guiconfig.inc");
require_once("/usr/local/pkg/snort/snort.inc");
-global $g;
+global $g, $rebuild_rules;
$id = $_GET['id'];
if (isset($_POST['id']))
@@ -87,6 +87,9 @@ if ($_POST) {
}
write_config();
+
+ /* No need to rebuild rules if just toggling Barnyard2 on or off */
+ $rebuild_rules = "off";
sync_snort_package_config();
/* after click go to this page */