summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-05-07 14:43:55 +0000
committerErmal <eri@pfsense.org>2010-05-07 14:43:55 +0000
commit2557738e29696a47577aa514b83972774c68cf38 (patch)
treeaecf3d62003fdb5487597be465226f9ab884e088 /etc
parent3327ac109894f9974283de655eaa50ef7a97571f (diff)
downloadpfsense-2557738e29696a47577aa514b83972774c68cf38.zip
pfsense-2557738e29696a47577aa514b83972774c68cf38.tar.gz
Correct delay matching on outgoing load balancer code.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 41020d2..15c119f 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -351,7 +351,7 @@ function return_gateway_groups_array() {
} else {
$tiers[$tier][] = $gwname;
}
- } elseif (stristr($status['status'], $delay)) {
+ } elseif (stristr($status['status'], "delay")) {
if (strstr($group['trigger'] , "latency")) {
/* high latency */
$msg = "MONITOR: $gwname has high latency, removing from routing group";
OpenPOWER on IntegriCloud