summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-07-11 17:23:44 -0400
committerChris Buechler <cmb@pfsense.org>2010-07-11 17:23:44 -0400
commitf8cb57dba22f108865bdd84dd4d6866059fb41b8 (patch)
tree090d0e91c9ae19ababeb4f9b61fa4b3f42c243fc
parent7017b54ec4f8a53ce6af501fac1ce7c0ea60096a (diff)
downloadpfsense-f8cb57dba22f108865bdd84dd4d6866059fb41b8.zip
pfsense-f8cb57dba22f108865bdd84dd4d6866059fb41b8.tar.gz
couple load balancer fixes, resolves #723
-rw-r--r--etc/inc/vslb.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc
index ef35c2b..4c90f22 100644
--- a/etc/inc/vslb.inc
+++ b/etc/inc/vslb.inc
@@ -230,7 +230,7 @@ function relayd_configure() {
if(is_array($vs_a)) {
for ($i = 0; isset($vs_a[$i]); $i++) {
switch($vs_a[$i]['mode']) {
- case 'redirect': {
+ case 'redirect_mode': {
$conf .= "redirect \"{$vs_a[$i]['name']}\" {\n";
$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";
@@ -259,7 +259,7 @@ function relayd_configure() {
fwrite($fd, $conf);
fclose($fd);
- if (is_process_running('relayd: parent')) {
+ if (is_process_running('relayd')) {
/*
* XXX: Something breaks our control connection with relayd and makes relayctl stop working
* rule reloads are the current suspect
OpenPOWER on IntegriCloud