aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-02-18 19:28:18 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-02-18 19:28:18 -0500
commit78106a49b36edd8ca27a1e475b276b5762afdcc9 (patch)
treec9a9d67eb7fec3b747063e2dfb9830710f0b00ce /config/snort
parent0e76f85bf6184d6d18830dba474fcd15fc075a03 (diff)
downloadpfsense-packages-78106a49b36edd8ca27a1e475b276b5762afdcc9.tar.gz
pfsense-packages-78106a49b36edd8ca27a1e475b276b5762afdcc9.tar.bz2
pfsense-packages-78106a49b36edd8ca27a1e475b276b5762afdcc9.zip
Make sure we always prefer VRT gen-msg-map if VRT rules enabled.
Diffstat (limited to 'config/snort')
-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 0aa397e4..e13c3bef 100755
--- a/config/snort/snort_check_for_rule_updates.php
+++ b/config/snort/snort_check_for_rule_updates.php
@@ -664,7 +664,7 @@ if ($snortdownload == 'on' || $emergingthreats == 'on' || $snortcommunityrules =
/* the Snort VRT rules are not enabled, then use Emerging Threats */
/* or Snort Community Rules, in that order, if either is enabled. */
/*******************************************************************/
- if ($snortdownload == 'on')
+ if ($snortdownload == 'on' || $vrt_enabled == 'on')
$prefix = "VRT_";
elseif ($emergingthreats == 'on')
$prefix = "ET_";