diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-02-04 16:20:21 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-02-04 16:20:21 -0600 |
commit | aeb87745b68663dc97a3ed48aa951ef4075f7042 (patch) | |
tree | cdf8ae043fbb9ea5fb21422fa202bbfbd09bad3f /src/etc | |
parent | 361cf6749e1306272920a8815f659de85b7deef1 (diff) | |
download | pfsense-aeb87745b68663dc97a3ed48aa951ef4075f7042.zip pfsense-aeb87745b68663dc97a3ed48aa951ef4075f7042.tar.gz |
Return blank rather than 0ms/0% for unmonitored gateways latency and loss. Show on dashboard widget when a gateway is unmonitored. Ticket #2226
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/gwlb.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/gwlb.inc b/src/etc/inc/gwlb.inc index b568b6f..86dcf1f 100644 --- a/src/etc/inc/gwlb.inc +++ b/src/etc/inc/gwlb.inc @@ -475,8 +475,8 @@ function return_gateways_status($byname = false) { $status[$target]['monitorip'] = $tgtip; $status[$target]['srcip'] = $srcip; $status[$target]['name'] = $gwitem['name']; - $status[$target]['delay'] = "0.0ms"; - $status[$target]['loss'] = "0.0%"; + $status[$target]['delay'] = ""; + $status[$target]['loss'] = ""; $status[$target]['status'] = "none"; } } |