summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-06-07 21:24:37 +0000
committerErmal <eri@pfsense.org>2010-06-07 21:24:37 +0000
commit9ae7d46f5dc6d6e27cb0fd21a3ecd82d1dcd7593 (patch)
treebe1b78195d3898b45de67e04abc15f79fc54117d /etc/inc
parentde42da413f7c863b4c662d48524f5cb99ec6cf9a (diff)
downloadpfsense-9ae7d46f5dc6d6e27cb0fd21a3ecd82d1dcd7593.zip
pfsense-9ae7d46f5dc6d6e27cb0fd21a3ecd82d1dcd7593.tar.gz
Catch up with php limits.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/gwlb.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 0f09f8c..54ab350 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -256,8 +256,8 @@ function return_gateways_status() {
$target = $info[0];
$status[$target]['name'] = $info[1];
$status[$target]['lastcheck'] = $info[4] ? date('r', $info[4]) : date('r');
- $status[$target]['delay'] = empty(trim($info[5])) ? 0 : $info[5];
- $status[$target]['loss'] = empty(trim($info[6])) ? 0.0 : $info[6];
+ $status[$target]['delay'] = empty($info[5]) ? 0 : $info[5];
+ $status[$target]['loss'] = empty($info[6]) ? 0.0 : $info[6];
$status[$target]['status'] = trim($info[7]);
}
return($status);
OpenPOWER on IntegriCloud