aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy/haproxy_pool_edit.php
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2013-02-19 09:03:50 -0800
committerJim P <jim@pingle.org>2013-02-19 09:03:50 -0800
commit1cffd57c76630d8f116a1a805a52938548808337 (patch)
tree37c7bb0e187b2a45dc1997821d2224623d9e15b7 /config/haproxy/haproxy_pool_edit.php
parent0886c469fca958d28735ccc97a1fa4ff3f059db0 (diff)
parentc7460e44dd9669f47484ab58fefaac368329cda8 (diff)
downloadpfsense-packages-1cffd57c76630d8f116a1a805a52938548808337.tar.gz
pfsense-packages-1cffd57c76630d8f116a1a805a52938548808337.tar.bz2
pfsense-packages-1cffd57c76630d8f116a1a805a52938548808337.zip
Merge pull request #387 from PiBa-NL/HAProxy_pfSense2.1
updated HAProxy package to work with pfSense 2.1
Diffstat (limited to 'config/haproxy/haproxy_pool_edit.php')
-rwxr-xr-xconfig/haproxy/haproxy_pool_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/haproxy/haproxy_pool_edit.php b/config/haproxy/haproxy_pool_edit.php
index d25f0675..4560bea2 100755
--- a/config/haproxy/haproxy_pool_edit.php
+++ b/config/haproxy/haproxy_pool_edit.php
@@ -133,8 +133,8 @@ if ($_POST) {
$a_backend = &$config['installedpackages']['haproxy']['ha_backends']['item'];
for ( $i = 0; $i < count($a_backend); $i++) {
- if ($a_backend[$i]['pool'] == $pool['name'])
- $a_backend[$i]['pool'] = $_POST['name'];
+ if ($a_backend[$i]['backend_serverpool'] == $pool['name'])
+ $a_backend[$i]['backend_serverpool'] = $_POST['name'];
}
}