aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_rules.php
diff options
context:
space:
mode:
authormarcelloc <marcellocoutinho@gmail.com>2011-11-11 13:21:26 -0200
committermarcelloc <marcellocoutinho@gmail.com>2011-11-11 13:21:26 -0200
commit14201ad21c92700ef26daf442f6d32a400e20b7f (patch)
tree8ac2dc8bde2cdfb3ac34a4659bda931a3a9c7674 /config/snort/snort_rules.php
parent86d84edf0d9dc59161004b61c409f92d730704f1 (diff)
parentd378152135a49642975cb5a2ce5a106fe7a8fe07 (diff)
downloadpfsense-packages-14201ad21c92700ef26daf442f6d32a400e20b7f.tar.gz
pfsense-packages-14201ad21c92700ef26daf442f6d32a400e20b7f.tar.bz2
pfsense-packages-14201ad21c92700ef26daf442f6d32a400e20b7f.zip
Merge branch 'master' of https://github.com/bsdperimeter/pfsense-packages
Diffstat (limited to 'config/snort/snort_rules.php')
-rw-r--r--config/snort/snort_rules.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_rules.php b/config/snort/snort_rules.php
index 2aa49865..871eb39e 100644
--- a/config/snort/snort_rules.php
+++ b/config/snort/snort_rules.php
@@ -157,7 +157,7 @@ while (false !== ($filename = readdir($dh)))
//only populate this array if its a rule file
$isrulefile = strstr($filename, ".rules");
if ($isrulefile !== false)
- $files[] = $filename;
+ $files[] = basename($filename);
}
sort($files);