diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-09-20 13:26:37 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-09-20 13:26:37 -0400 |
commit | 433d0b37bfb7cd42145ed5c93c690896fc4944fa (patch) | |
tree | 09fd049c94775059c1b2f6f62030843beb656a99 /config/snort/snort_download_updates.php | |
parent | 211ec39d280dcefd1a24fa875c587ed2301dadd5 (diff) | |
download | pfsense-packages-433d0b37bfb7cd42145ed5c93c690896fc4944fa.tar.gz pfsense-packages-433d0b37bfb7cd42145ed5c93c690896fc4944fa.tar.bz2 pfsense-packages-433d0b37bfb7cd42145ed5c93c690896fc4944fa.zip |
Rename critical CONSTANTS so they are unique to the package.
Diffstat (limited to 'config/snort/snort_download_updates.php')
-rwxr-xr-x | config/snort/snort_download_updates.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/snort/snort_download_updates.php b/config/snort/snort_download_updates.php index 9d677619..e74a9ce6 100755 --- a/config/snort/snort_download_updates.php +++ b/config/snort/snort_download_updates.php @@ -38,7 +38,7 @@ require_once("/usr/local/pkg/snort/snort.inc"); /* Define some locally required variables from Snort constants */ $snortdir = SNORTDIR; -$snort_rules_upd_log = RULES_UPD_LOGFILE; +$snort_rules_upd_log = SNORT_RULES_UPD_LOGFILE; /* Grab the Snort binary version programmatically and */ /* use it to construct the proper Snort VRT rules */ @@ -51,7 +51,7 @@ if (empty($snortver[0])) $snortver[0] = str_replace(".", "", $snortver[0]); $snort_rules_file = "snortrules-snapshot-{$snortver[0]}.tar.gz"; -$snort_community_rules_filename = GPLV2_DNLD_FILENAME; +$snort_community_rules_filename = SNORT_GPLV2_DNLD_FILENAME; $snortdownload = $config['installedpackages']['snortglobal']['snortdownload']; $emergingthreats = $config['installedpackages']['snortglobal']['emergingthreats']; @@ -69,11 +69,11 @@ else $last_rule_upd_status = gettext("Unknown"); if ($etpro == "on") { - $emergingthreats_filename = ETPRO_DNLD_FILENAME; + $emergingthreats_filename = SNORT_ETPRO_DNLD_FILENAME; $et_name = "Emerging Threats Pro Rules"; } else { - $emergingthreats_filename = ET_DNLD_FILENAME; + $emergingthreats_filename = SNORT_ET_DNLD_FILENAME; $et_name = "Emerging Threats Open Rules"; } |