aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-24 14:43:22 +0100
committerErmal <eri@pfsense.org>2013-01-24 14:43:22 +0100
commitd5726cd30250d85f93bf372cd3082a40f34f406a (patch)
treeabc660d842b9233c0637770b335a8e19c03ea30e
parentd65ba9fa755acfb30c517838a0ef3bd126f9c766 (diff)
downloadpfsense-packages-d5726cd30250d85f93bf372cd3082a40f34f406a.tar.gz
pfsense-packages-d5726cd30250d85f93bf372cd3082a40f34f406a.tar.bz2
pfsense-packages-d5726cd30250d85f93bf372cd3082a40f34f406a.zip
Correct missing parametr
-rwxr-xr-xconfig/snort/snort_check_for_rule_updates.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_check_for_rule_updates.php b/config/snort/snort_check_for_rule_updates.php
index a3e45b5d..e17f29ab 100755
--- a/config/snort/snort_check_for_rule_updates.php
+++ b/config/snort/snort_check_for_rule_updates.php
@@ -336,7 +336,7 @@ function snort_apply_customizations($snortcfg, $if_real) {
/* rule category files if we have any. */
if (!empty($snortcfg['rulesets'])) {
foreach (explode("||", $snortcfg['rulesets']) as $file) {
- if (file_exists())
+ if (file_exists($file))
$enabled_files[] = "{$snortdir}/rules/" . $file;
}