aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2013-06-03 21:19:06 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2013-06-03 21:19:06 -0400
commit920dcf88e757c1f133c4c8d53cef4b712c35e608 (patch)
tree2cf47caf7cfcda88df50757542c49fefef4366ae
parent7bf09620fc59e910d83f2691c6487a6cf0b615c2 (diff)
downloadpfsense-packages-920dcf88e757c1f133c4c8d53cef4b712c35e608.tar.gz
pfsense-packages-920dcf88e757c1f133c4c8d53cef4b712c35e608.tar.bz2
pfsense-packages-920dcf88e757c1f133c4c8d53cef4b712c35e608.zip
Fix it so Select All also gets Snort GPLv2 Community Rules.
-rwxr-xr-xconfig/snort/snort_rulesets.php6
1 files 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()
</td>
</tr>
<tr>
- <td colspan="6" class="listtopic"><?php echo gettext("Snort IPS Policy Selection"); ?><br/></td>
+ <td colspan="6" class="listtopic"><?php echo gettext("Snort IPS Policy selection"); ?><br/></td>
</tr>
<tr>
<td colspan="6" valign="center" class="listn">
@@ -389,7 +389,7 @@ function enable_change()
</td>
</tr>
<tr>
- <td colspan="6" class="listtopic"><?php echo gettext("Select the rulesets you would like Snort to load at startup"); ?><br/></td>
+ <td colspan="6" class="listtopic"><?php echo gettext("Select the rulesets Snort will load at startup"); ?><br/></td>
</tr>
<tr>
<td colspan="6">