diff options
author | Darren Embry <dse@webonastick.com> | 2012-04-05 17:35:58 -0400 |
---|---|---|
committer | Darren Embry <dse@webonastick.com> | 2012-04-05 18:17:36 -0400 |
commit | f57a578d1cd3f117947c84921b9984f3a586e41d (patch) | |
tree | f461a51a5ca7baac147f73d2f2bbd61dfc92a42c /etc | |
parent | f99aa333fe20c845b256d9d243bc4c57a2bdc1d1 (diff) | |
download | pfsense-f57a578d1cd3f117947c84921b9984f3a586e41d.zip pfsense-f57a578d1cd3f117947c84921b9984f3a586e41d.tar.gz |
work around a redeclaration error.
i'm going to start a discussion about making sure all require() calls
become require_once() calls but until then i have to fix this.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vslb.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc index 175c46b..00d138e 100644 --- a/etc/inc/vslb.inc +++ b/etc/inc/vslb.inc @@ -156,7 +156,11 @@ function echo_lbaction($action) { function relayd_configure($kill_first=false) { global $config, $g; - require_once("filter.inc"); + // have to do this until every call to filter.inc is + // require_once() instead of require(). + if (!is_function('filter_expand_alias_array')) { + require_once("filter.inc"); + } $vs_a = $config['load_balancer']['virtual_server']; $pool_a = $config['load_balancer']['lbpool']; |