diff options
author | sullrich <sullrich@pfsense.org> | 2009-12-15 08:55:48 -0500 |
---|---|---|
committer | sullrich <sullrich@pfsense.org> | 2009-12-15 08:55:48 -0500 |
commit | d33aa424529c46ec941496801786f530f6b916ee (patch) | |
tree | a89bee77656558fab64b95bab2849374010d1e40 /config/haproxy/haproxy.inc | |
parent | f11e0c51101c80a2ab9d14bf1e714ffc21293065 (diff) | |
download | pfsense-packages-d33aa424529c46ec941496801786f530f6b916ee.tar.gz pfsense-packages-d33aa424529c46ec941496801786f530f6b916ee.tar.bz2 pfsense-packages-d33aa424529c46ec941496801786f530f6b916ee.zip |
Install all servers
Diffstat (limited to 'config/haproxy/haproxy.inc')
-rw-r--r-- | config/haproxy/haproxy.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc index d65c2684..3c051034 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -208,10 +208,10 @@ function haproxy_configure() { if(is_array($a_servers)) { foreach ($a_servers as $server) { $backends_to_process = split(" ", $server['backend']); - foreach($backends_to_process as $backend) { - if($backend == "") + foreach($backends_to_process as $backends) { + if($backends == "") continue; - if($backend ==$backend['name']) { + if($backends == $backend['name']) { if($server['status']=='active') { if($server['cookie']) $cookie = " cookie {$server['cookie']} "; |