summaryrefslogtreecommitdiffstats
path: root/etc/inc/vslb.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-10 20:46:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-10 20:46:52 +0000
commit7f23c690a5826c3ab20c9f593602be3d7dceac83 (patch)
tree622158f87b9597dcbe7815aed406ce021b90c53e /etc/inc/vslb.inc
parent4b87b18b0012aa8e4dfa4df70feb79a921a3c752 (diff)
downloadpfsense-7f23c690a5826c3ab20c9f593602be3d7dceac83.zip
pfsense-7f23c690a5826c3ab20c9f593602be3d7dceac83.tar.gz
Patches from smos@
* Replace not functioning interface check for polling. * Silence route commands.
Diffstat (limited to 'etc/inc/vslb.inc')
-rw-r--r--etc/inc/vslb.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc
index 5dc2d81..2968432 100644
--- a/etc/inc/vslb.inc
+++ b/etc/inc/vslb.inc
@@ -131,11 +131,11 @@ function slbd_configure() {
* there is a chance the monitor ip gateway will go out the link
* that is up.
*/
- mwexec("/sbin/route delete -host {$lbsvr_split[1]} 2>&1");
- mwexec("/sbin/route add -host {$lbsvr_split[1]} 127.0.0.1 2>&1");
+ mwexec("/sbin/route delete -host {$lbsvr_split[1]} 2>&1", true);
+ mwexec("/sbin/route add -host {$lbsvr_split[1]} 127.0.0.1 2>&1", true);
} else {
- mwexec("/sbin/route delete -host {$lbsvr_split[1]} 2>&1");
- mwexec("/sbin/route add -host {$lbsvr_split[1]} {$gateway} 2>&1");
+ mwexec("/sbin/route delete -host {$lbsvr_split[1]} 2>&1", true);
+ mwexec("/sbin/route add -host {$lbsvr_split[1]} {$gateway} 2>&1", true);
}
}
$slbdconf .= "\t:service-port=666:\\\n";
OpenPOWER on IntegriCloud