aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/haproxy-dev/haproxy.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/config/haproxy-dev/haproxy.inc b/config/haproxy-dev/haproxy.inc
index 275ea8ab..12920103 100644
--- a/config/haproxy-dev/haproxy.inc
+++ b/config/haproxy-dev/haproxy.inc
@@ -293,18 +293,18 @@ function haproxy_configure() {
$a_bind[$bname]['extaddr'] = $backend['extaddr'];
$a_bind[$bname]['port'] = $backend['port'];
}
- $bind = &$a_bind[$bname];
+ $b = &$a_bind[$bname];
// Overwrite ?
- $bind['type'] = $backend['type'];
- $bind['forwardfor'] = $backend['forwardfor'];
- $bind['httpclose'] = $backend['httpclose'];
- $bind['max_connections'] = $backend['max_connections'];
- $bind['client_timeout'] = $backend['client_timeout'];
- $bind['advanced'] = $backend['advanced'];
+ $b['type'] = $backend['type'];
+ $b['forwardfor'] = $backend['forwardfor'];
+ $b['httpclose'] = $backend['httpclose'];
+ $b['max_connections'] = $backend['max_connections'];
+ $b['client_timeout'] = $backend['client_timeout'];
+ $b['advanced'] = $backend['advanced'];
// pointer to each backend
- $bind['config'][] = $backend;
+ $b['config'][] = $backend;
}
}