aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-devel
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2013-08-25 20:05:10 +0200
committerPiBa-NL <pba_2k3@yahoo.com>2013-08-25 20:05:10 +0200
commit73a8bdf8ee80cc83bae30a40990abe67d0b8b645 (patch)
tree268910ccfc48cd7d8d24395189bf6d566c1ef5a5 /config/haproxy-devel
parent5384c5f8d643d5a38e2a2b6c09cd539df39dc531 (diff)
downloadpfsense-packages-73a8bdf8ee80cc83bae30a40990abe67d0b8b645.tar.gz
pfsense-packages-73a8bdf8ee80cc83bae30a40990abe67d0b8b645.tar.bz2
pfsense-packages-73a8bdf8ee80cc83bae30a40990abe67d0b8b645.zip
fix (again) default backend selection
Diffstat (limited to 'config/haproxy-devel')
-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;
}