aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy/haproxy_pool_edit.php
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2013-02-18 23:04:39 +0100
committerPiBa-NL <pba_2k3@yahoo.com>2013-02-18 23:04:39 +0100
commitc7460e44dd9669f47484ab58fefaac368329cda8 (patch)
tree29acdb74cebb6fd7dcaf6b75f943390315b7e6b0 /config/haproxy/haproxy_pool_edit.php
parent52795d868e16484fb49f31f492a202f143129494 (diff)
downloadpfsense-packages-c7460e44dd9669f47484ab58fefaac368329cda8.tar.gz
pfsense-packages-c7460e44dd9669f47484ab58fefaac368329cda8.tar.bz2
pfsense-packages-c7460e44dd9669f47484ab58fefaac368329cda8.zip
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'];
}
}