diff options
author | sullrich <sullrich@pfsense.org> | 2009-12-15 08:29:19 -0500 |
---|---|---|
committer | sullrich <sullrich@pfsense.org> | 2009-12-15 08:29:19 -0500 |
commit | f8f3e5cac2b682a618767364de9e34b547f7ba70 (patch) | |
tree | 4c324cf5eaf48126d2d7374502af8dc73a129843 /config/haproxy/haproxy.inc | |
parent | a48c7c7180717a51d8529f844e47556757ca7f36 (diff) | |
download | pfsense-packages-f8f3e5cac2b682a618767364de9e34b547f7ba70.tar.gz pfsense-packages-f8f3e5cac2b682a618767364de9e34b547f7ba70.tar.bz2 pfsense-packages-f8f3e5cac2b682a618767364de9e34b547f7ba70.zip |
Unbreak haproxy. All my fault, sorry about that.
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 0dcacab3..d65c2684 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -150,11 +150,11 @@ function haproxy_configure() { // https is an alias for tcp for clarity purpouses if($backend['type'] == "https") - $backend = "tcp"; + $backend_type = "tcp"; else - $backend = $backend['type']; + $backend_type = $backend['type']; - fwrite ($fd, "\tmode\t\t\t" . $backend . "\n"); + fwrite ($fd, "\tmode\t\t\t" . $backend_type . "\n"); fwrite ($fd, "\tlog\t\t\tglobal\n"); fwrite ($fd, "\toption\t\t\tdontlognull\n"); fwrite ($fd, "\toption\t\t\thttpclose\n"); |