aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-21 11:26:32 +0100
committerErmal <eri@pfsense.org>2013-01-21 11:26:32 +0100
commit9364ae8d30859823ef560ab90eb25b6947467ecf (patch)
tree842f81c061ab7eb76daec98c48db70c73a2cd7b7
parent71722a88a7b25cdaad6125c424377d9a10708b8f (diff)
downloadpfsense-packages-9364ae8d30859823ef560ab90eb25b6947467ecf.tar.gz
pfsense-packages-9364ae8d30859823ef560ab90eb25b6947467ecf.tar.bz2
pfsense-packages-9364ae8d30859823ef560ab90eb25b6947467ecf.zip
Put required $ for var
-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 6ec8a1d8..adece3d3 100755
--- a/config/snort/snort_check_for_rule_updates.php
+++ b/config/snort/snort_check_for_rule_updates.php
@@ -388,7 +388,7 @@ if ($snortdownload == 'on' || $emergingthreats == 'on') {
/* Determine which base etc file set to use for the master copy. */
/* If the Snort VRT rules are not enabled, then use Emerging Threats. */
- if (($vrt_enabled == 'off') && (et_enabled == 'on')) {
+ if (($vrt_enabled == 'off') && ($et_enabled == 'on')) {
foreach (array("classification.config", "reference.config", "gen-msg.map", "unicode.map") as $file) {
if (file_exists("{$snortdir}/ET_{$file}"))
@rename("{$snortdir}/ET_{$file}", "{$snortdir}/{$file}");