diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-02-18 19:28:18 -0500 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-02-18 19:28:18 -0500 |
commit | 78106a49b36edd8ca27a1e475b276b5762afdcc9 (patch) | |
tree | c9a9d67eb7fec3b747063e2dfb9830710f0b00ce | |
parent | 0e76f85bf6184d6d18830dba474fcd15fc075a03 (diff) | |
download | pfsense-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.
-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 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_"; |