From 90e3a2b3636b8bda325ed66663bba6a6f126762b Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Thu, 1 Jan 2015 23:41:23 +0100 Subject: haproxy-devel, fix writing multiple acls, pkg bump v0.15 --- config/haproxy-devel/haproxy.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/haproxy-devel') diff --git a/config/haproxy-devel/haproxy.inc b/config/haproxy-devel/haproxy.inc index 950d5f5b..9b758370 100644 --- a/config/haproxy-devel/haproxy.inc +++ b/config/haproxy-devel/haproxy.inc @@ -1259,6 +1259,7 @@ function haproxy_writeconf($configpath) { // Combine the rest of the frontend configs $default_backend = ""; + $config_usebackend = ""; $inspectdelay = 0; $i = 0; foreach ($bind['config'] as $frontend) { @@ -1285,7 +1286,6 @@ function haproxy_writeconf($configpath) { $a_acl_combine[$name][] = $entry['ref']; } - $config_usebackend = ""; foreach ($a_acl_combine as $a_usebackend) { $aclnames = ""; foreach ($a_usebackend as $entry) { -- cgit v1.2.3