From c7460e44dd9669f47484ab58fefaac368329cda8 Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Mon, 18 Feb 2013 23:04:39 +0100 Subject: updated HAProxy package to work with pfSense 2.1 --- config/haproxy/haproxy_pool_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/haproxy/haproxy_pool_edit.php') 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']; } } -- cgit v1.2.3