diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2014-09-26 00:47:52 +0200 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2014-09-26 00:47:52 +0200 |
commit | b19153963fff00be53e8c72c3d71262886f61815 (patch) | |
tree | 29d3f97c9f48644121ce8f5fe7ddb153e2e08470 /config/haproxy-devel/haproxy_utils.inc | |
parent | 56b0123f775788eb53610b7ab463e4852dbafa3c (diff) | |
download | pfsense-packages-b19153963fff00be53e8c72c3d71262886f61815.tar.gz pfsense-packages-b19153963fff00be53e8c72c3d71262886f61815.tar.bz2 pfsense-packages-b19153963fff00be53e8c72c3d71262886f61815.zip |
haproxy-devel, fix transparent-client-ip on pfsense 2.2 for changes in ipfw
Diffstat (limited to 'config/haproxy-devel/haproxy_utils.inc')
-rw-r--r-- | config/haproxy-devel/haproxy_utils.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/haproxy-devel/haproxy_utils.inc b/config/haproxy-devel/haproxy_utils.inc index 37c1d623..8fb89eab 100644 --- a/config/haproxy-devel/haproxy_utils.inc +++ b/config/haproxy-devel/haproxy_utils.inc @@ -33,6 +33,11 @@ require_once("config.inc"); +class haproxy_utils { + public static $pf_version; +} +haproxy_utils::$pf_version = substr(trim(file_get_contents("/etc/version")),0,3); + if(!function_exists('ifset')){ function ifset(&$var, $default = ''){ return isset($var) ? $var : $default; |