diff options
author | Ermal <eri@pfsense.org> | 2012-07-16 10:48:59 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-16 10:48:59 +0000 |
commit | 635f69b58c61f3b61f54db6954b004f70e6407d4 (patch) | |
tree | 174b22b637b4242360c4faddcbb63e896cc923a5 /config/snort/snort.inc | |
parent | d39a8aa1dd596068db94db4ad1b774f99598cfff (diff) | |
download | pfsense-packages-635f69b58c61f3b61f54db6954b004f70e6407d4.tar.gz pfsense-packages-635f69b58c61f3b61f54db6954b004f70e6407d4.tar.bz2 pfsense-packages-635f69b58c61f3b61f54db6954b004f70e6407d4.zip |
Do check properly
Diffstat (limited to 'config/snort/snort.inc')
-rw-r--r-- | config/snort/snort.inc | 2 |
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") && |