diff options
author | thompsa <andy@fud.org.nz> | 2010-03-12 17:43:00 +1300 |
---|---|---|
committer | thompsa <andy@fud.org.nz> | 2010-03-12 17:43:00 +1300 |
commit | e455a5327161728e87d8b214c0b31d9007d5e90a (patch) | |
tree | c56adb074409cf917d0822c6c8ae437ec02e78ac /config/haproxy-dev/haproxy.inc | |
parent | 155c3634e0e4e6a4fc7b3488bdf032a1661e8779 (diff) | |
download | pfsense-packages-e455a5327161728e87d8b214c0b31d9007d5e90a.tar.gz pfsense-packages-e455a5327161728e87d8b214c0b31d9007d5e90a.tar.bz2 pfsense-packages-e455a5327161728e87d8b214c0b31d9007d5e90a.zip |
Remove the 'status' from the backend pool and just show it disabled if
no listeners are using it.
Diffstat (limited to 'config/haproxy-dev/haproxy.inc')
-rw-r--r-- | config/haproxy-dev/haproxy.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy-dev/haproxy.inc b/config/haproxy-dev/haproxy.inc index 97a20faa..ed8da06d 100644 --- a/config/haproxy-dev/haproxy.inc +++ b/config/haproxy-dev/haproxy.inc @@ -245,7 +245,7 @@ function haproxy_find_acl($name) { } function write_backend($fd, $name, $pool, $frontend) { - if($pool['status'] != 'active' || !is_array($pool['ha_servers']['item'])) + if(!is_array($pool['ha_servers']['item'])) continue; fwrite ($fd, "backend " . $name . "\n"); |