diff options
author | Ermal <eri@pfsense.org> | 2013-01-24 14:43:22 +0100 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-01-24 14:43:22 +0100 |
commit | d5726cd30250d85f93bf372cd3082a40f34f406a (patch) | |
tree | abc660d842b9233c0637770b335a8e19c03ea30e | |
parent | d65ba9fa755acfb30c517838a0ef3bd126f9c766 (diff) | |
download | pfsense-packages-d5726cd30250d85f93bf372cd3082a40f34f406a.tar.gz pfsense-packages-d5726cd30250d85f93bf372cd3082a40f34f406a.tar.bz2 pfsense-packages-d5726cd30250d85f93bf372cd3082a40f34f406a.zip |
Correct missing parametr
-rwxr-xr-x | config/snort/snort_check_for_rule_updates.php | 2 |
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; } |