diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-11-16 22:04:17 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-11-16 22:04:17 -0500 |
commit | c7c3dad7eafbeae9e6c1d1a26a71541876efaaf5 (patch) | |
tree | 529ae0fc2beaaa318a3fd47bf74ddeb19bb12560 /config | |
parent | 3a8a51cff97206a24fc2e08152baee107f79040f (diff) | |
download | pfsense-packages-c7c3dad7eafbeae9e6c1d1a26a71541876efaaf5.tar.gz pfsense-packages-c7c3dad7eafbeae9e6c1d1a26a71541876efaaf5.tar.bz2 pfsense-packages-c7c3dad7eafbeae9e6c1d1a26a71541876efaaf5.zip |
Add missing else
Diffstat (limited to 'config')
-rw-r--r-- | config/haproxy/haproxy.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc index 9fdd7b49..e87e0817 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -124,7 +124,7 @@ function haproxy_configure() { if($backend['extaddr'] == "any") $listenip = "listen {$backend['name']}\t\t\t0.0.0.0:".$backend['port']."\n"; - if($backend['extaddr']) + elseif($backend['extaddr']) $listenip = "listen {$backend['name']}\t\t\t" . $backend['extaddr'] . ":" . $backend['port']."\n"; else $listenip = "listen {$backend['name']}\t\t\t" . get_current_wan_address('wan').":" . $backend['port']."\n"; |