diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2015-07-03 14:11:45 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2015-07-03 14:11:45 -0400 |
commit | 29e3014f516da8888a762e0a253467675113208f (patch) | |
tree | 7a27006e0fda8bb5ccfa347489863c3464b7fdae /config | |
parent | 710e7984a4b90ca30e3daa6a6f54202e0cbb1e9f (diff) | |
download | pfsense-packages-29e3014f516da8888a762e0a253467675113208f.tar.gz pfsense-packages-29e3014f516da8888a762e0a253467675113208f.tar.bz2 pfsense-packages-29e3014f516da8888a762e0a253467675113208f.zip |
Remove unused old variables.
Diffstat (limited to 'config')
-rwxr-xr-x | config/snort/snort.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index bb5ff792..82692d67 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -43,16 +43,13 @@ require("/usr/local/pkg/snort/snort_defs.inc"); ini_set("memory_limit", "384M"); // Explicitly declare this as global so it works through function call includes -global $g, $config, $rebuild_rules, $pfSense_snort_version; +global $g, $config, $rebuild_rules; // Grab the Snort binary version programmatically, but if that fails use a safe default $snortver = array(); $snortbindir = SNORT_PBI_BINDIR; exec("{$snortbindir}snort -V 2>&1 |/usr/bin/grep Version | /usr/bin/cut -c20-26", $snortver); -/* get installed package version for display */ -$snort_package_version = "Snort {$config['installedpackages']['package'][get_pkg_id("snort")]['version']}"; - /* Rebuild Rules Flag -- if "true", rebuild enforcing rules and flowbit-rules files */ $rebuild_rules = false; |