From 920dcf88e757c1f133c4c8d53cef4b712c35e608 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Mon, 3 Jun 2013 21:19:06 -0400 Subject: Fix it so Select All also gets Snort GPLv2 Community Rules. --- config/snort/snort_rulesets.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php index fce1616b..62200ba4 100755 --- a/config/snort/snort_rulesets.php +++ b/config/snort/snort_rulesets.php @@ -167,7 +167,7 @@ if ($_POST['selectall']) { $rulesets[] = basename($file); } if ($snortcommunitydownload == 'on') { - $files = glob("{$snortdir}/rules/sc_*.rules"); + $files = glob("{$snortdir}/rules/*_community.rules"); foreach ($files as $file) $rulesets[] = basename($file); } @@ -348,7 +348,7 @@ function enable_change() -
+
@@ -389,7 +389,7 @@ function enable_change() -
+
-- cgit v1.2.3