From 73a8bdf8ee80cc83bae30a40990abe67d0b8b645 Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Sun, 25 Aug 2013 20:05:10 +0200 Subject: fix (again) default backend selection --- config/haproxy-devel/haproxy.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/haproxy-devel/haproxy.inc b/config/haproxy-devel/haproxy.inc index f8434327..5eee1024 100644 --- a/config/haproxy-devel/haproxy.inc +++ b/config/haproxy-devel/haproxy.inc @@ -742,7 +742,7 @@ function haproxy_writeconf($configfile) { $poolname .= "_" . $bconfig['svrport']; // Write this out once, and must be before any backend config text - if ($default_backend = "" || $bconfig['secondary'] != 'yes') { + if ($default_backend == "" || $bconfig['secondary'] != 'yes') { $default_backend = $poolname; } -- cgit v1.2.3