aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-16 10:48:59 +0000
committerErmal <eri@pfsense.org>2012-07-16 10:48:59 +0000
commit635f69b58c61f3b61f54db6954b004f70e6407d4 (patch)
tree174b22b637b4242360c4faddcbb63e896cc923a5
parentd39a8aa1dd596068db94db4ad1b774f99598cfff (diff)
downloadpfsense-packages-635f69b58c61f3b61f54db6954b004f70e6407d4.tar.gz
pfsense-packages-635f69b58c61f3b61f54db6954b004f70e6407d4.tar.bz2
pfsense-packages-635f69b58c61f3b61f54db6954b004f70e6407d4.zip
Do check properly
-rw-r--r--config/snort/snort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index cd01ff65..660f5f3e 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -1306,7 +1306,7 @@ EOD;
if (file_exists("{$snortcfgdir}/classification.config"))
$snort_misc_include_rules .= "include {$snortcfgdir}/classification.config\n";
if (is_dir("{$snortdir}/preproc_rules")) {
- if ($snortcfg['sensitive_data'] && file_exists("{$snortdir}/preproc_rules/sensitive-data.rules"))
+ if ($snortcfg['sensitive_data'] == 'on' && file_exists("{$snortdir}/preproc_rules/sensitive-data.rules"))
$snort_misc_include_rules .= "include \$PREPROC_RULE_PATH/sensitive-data.rules\n";
if (file_exists("{$snortdir}/preproc_rules/decoder.rules") &&