diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-04-15 11:51:14 -0400 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-04-28 08:03:38 +0000 |
commit | f514922afc4281dc71515e7d81b175cb88a6abed (patch) | |
tree | d2e1cbffff3bcf38d6c4c4761c0637609cd492e6 /config/snort/snort.inc | |
parent | 62ed7e16bc69b27de9d37f8f9bbeaed3a1fb42a0 (diff) | |
download | pfsense-packages-f514922afc4281dc71515e7d81b175cb88a6abed.tar.gz pfsense-packages-f514922afc4281dc71515e7d81b175cb88a6abed.tar.bz2 pfsense-packages-f514922afc4281dc71515e7d81b175cb88a6abed.zip |
Need a flag to indicate latest snort.inc version has been loaded.
Diffstat (limited to 'config/snort/snort.inc')
-rwxr-xr-x | config/snort/snort.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index b65569e4..e82a6a1c 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -44,7 +44,7 @@ require_once("filter.inc"); ini_set("memory_limit", "192M"); // Explicitly declare this as global so it works through function call includes -global $rebuild_rules; +global $rebuild_rules, $pfSense_snort_version; // Grab the Snort binary version programmatically, but if that fails use a safe default $snortver = array(); @@ -53,6 +53,9 @@ $snort_version = $snortver[0]; if (empty($snort_version)) $snort_version = "2.9.6.0"; +/* Used to indicate latest version of this include file has been loaded */ +$pfSense_snort_version = "3.0.7"; + /* get installed package version for display */ $snort_package_version = "Snort {$config['installedpackages']['package'][get_pkg_id("snort")]['version']}"; |