aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-devel/haproxy.inc
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2013-08-25 11:55:39 -0700
committerJim P <jim@pingle.org>2013-08-25 11:55:39 -0700
commit3373c67f384c637b0bd39bf1a0eaa32df86bd490 (patch)
tree828d91915eeee19e20b1d19ee1553d2a8f9647a5 /config/haproxy-devel/haproxy.inc
parent2c372d597c419ee36fcdda08c6830af9c9e1fc05 (diff)
parent73a8bdf8ee80cc83bae30a40990abe67d0b8b645 (diff)
downloadpfsense-packages-3373c67f384c637b0bd39bf1a0eaa32df86bd490.tar.gz
pfsense-packages-3373c67f384c637b0bd39bf1a0eaa32df86bd490.tar.bz2
pfsense-packages-3373c67f384c637b0bd39bf1a0eaa32df86bd490.zip
Merge pull request #478 from PiBa-NL/HAProxy-devel-defaultbackend
HAProxy-devel, fix (again) default backend selection
Diffstat (limited to 'config/haproxy-devel/haproxy.inc')
-rw-r--r--config/haproxy-devel/haproxy.inc2
1 files changed, 1 insertions, 1 deletions
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;
}