diff options
author | Bill Marquette <billm@pfsense.org> | 2008-11-02 23:33:27 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2008-11-02 23:33:27 +0000 |
commit | 43b01df4fabca80e14f4e918fd2de526d0bfa7d6 (patch) | |
tree | fa1f3743a72f8df77e81ad8badcd37263c144dd2 /etc | |
parent | ab9c7767688dc9125b75f732235661c8fcf75f5e (diff) | |
download | pfsense-43b01df4fabca80e14f4e918fd2de526d0bfa7d6.zip pfsense-43b01df4fabca80e14f4e918fd2de526d0bfa7d6.tar.gz |
Comment code on why primary pools port is in use - the front end should
probably only show fallback pools with the same port, but that will be
difficult if not impossible to put in place until we have a better AJAX
framework in place.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vslb.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc index eb1e334..1835df5 100644 --- a/etc/inc/vslb.inc +++ b/etc/inc/vslb.inc @@ -231,8 +231,9 @@ function relayd_configure() { $conf .= " listen on {$vs_a[$i]['ipaddr']} port {$vs_a[$i]['port']}\n"; $conf .= " forward to <{$vs_a[$i]['pool']}> port {$pools[$vs_a[$i]['pool']]['port']} {$check_a[$pools[$vs_a[$i]['pool']]['monitor']]} timeout 1000\n"; + # sitedown MUST use the same port as the primary pool - sucks, but it's a relayd thing if (isset($vs_a[$i]['sitedown']) && $vs_a[$i]['sitedown'] != "") - $conf .= " forward to <{$vs_a[$i]['sitedown']}> port {$pools[$vs_a[$i]['pool']]['port']} {$check_a[$pools[$vs_a[$i]['pool']]['monitor']]} timeout 1000\n"; + $conf .= " forward to <{$vs_a[$i]['sitedown']}> port {$pools[$vs_a[$i]['port']]['port']} {$check_a[$pools[$vs_a[$i]['pool']]['monitor']]} timeout 1000\n"; $conf .= "}\n"; break; } |