diff options
author | Ermal Luçi <eri@pfsense.org> | 2013-06-19 00:15:02 -0700 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2013-06-19 00:15:02 -0700 |
commit | adb2429a28a55c6487c34f521e20c8a0306cf8e8 (patch) | |
tree | ed4a96f4c0d53078b51dfae7f80fca00129a460d /config/snort/snort_rulesets.php | |
parent | 22bce8037274c62c19e422ca1d05f4c4360c1270 (diff) | |
parent | 34cb0a39d7d14ecba7a4fc5060a04760d3921bc8 (diff) | |
download | pfsense-packages-adb2429a28a55c6487c34f521e20c8a0306cf8e8.tar.gz pfsense-packages-adb2429a28a55c6487c34f521e20c8a0306cf8e8.tar.bz2 pfsense-packages-adb2429a28a55c6487c34f521e20c8a0306cf8e8.zip |
Merge pull request #461 from bmeeks8/master
Snort Package v 2.5.9 Update
Diffstat (limited to 'config/snort/snort_rulesets.php')
-rwxr-xr-x | config/snort/snort_rulesets.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php index fa3efc1b..7ec0edbd 100755 --- a/config/snort/snort_rulesets.php +++ b/config/snort/snort_rulesets.php @@ -32,9 +32,10 @@ require_once("guiconfig.inc"); require_once("/usr/local/pkg/snort/snort.inc"); -global $g, $flowbit_rules_file, $rebuild_rules; +global $g, $rebuild_rules; $snortdir = SNORTDIR; +$flowbit_rules_file = FLOWBITS_FILENAME; if (!is_array($config['installedpackages']['snortglobal']['rule'])) { $config['installedpackages']['snortglobal']['rule'] = array(); @@ -143,9 +144,9 @@ if ($_POST["Submit"]) { /* Update the snort conf file and rebuild the */ /* rules for this interface. */ /*************************************************/ - $rebuild_rules = "on"; + $rebuild_rules = true; snort_generate_conf($a_nat[$id]); - $rebuild_rules = "off"; + $rebuild_rules = false; header("Location: /snort/snort_rulesets.php?id=$id"); exit; |