aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2013-02-01 08:50:39 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2013-02-01 08:50:39 -0500
commit9dbe2671f9797eadd21f5d506932f9dd51c8fbdf (patch)
treec90718e13ac37cf8152d1b9c729640855619a72d
parentc84ef2aac594ebe04e2f8eabf1b3407bb4c79d2e (diff)
downloadpfsense-packages-9dbe2671f9797eadd21f5d506932f9dd51c8fbdf.tar.gz
pfsense-packages-9dbe2671f9797eadd21f5d506932f9dd51c8fbdf.tar.bz2
pfsense-packages-9dbe2671f9797eadd21f5d506932f9dd51c8fbdf.zip
Oops! Fix an error with setting ['disabled'] to 1 when should be 0.
-rwxr-xr-xconfig/snort/snort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 17c3a19a..869e040e 100755
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -1200,7 +1200,7 @@ function snort_find_flowbit_required_rules(&$all_rules, &$unchecked_flowbits) {
else {
/* If rule is disabled, remove leading '#' to enable it */
$required_flowbits_rules[$k1][$k2]['rule'] = ltrim(substr($rule2['rule'], strpos($rule2['rule'], "#") + 1));
- $required_flowbits_rules[$k1][$k2]['disabled'] = 1;
+ $required_flowbits_rules[$k1][$k2]['disabled'] = 0;
}
}
}