diff options
author | Denny Page <dennypage@me.com> | 2016-01-18 16:11:57 -0800 |
---|---|---|
committer | Denny Page <dennypage@me.com> | 2016-01-18 16:11:57 -0800 |
commit | b90e4de2d8b228dba30a61c5f4cc3a11cdf4ce63 (patch) | |
tree | f88e13f6620478b03b371efba26b3046de75f3ed /src/usr/local/www/widgets | |
parent | a683fa0aec68bda1b235d999b365289832c9bbdf (diff) | |
download | pfsense-b90e4de2d8b228dba30a61c5f4cc3a11cdf4ce63.zip pfsense-b90e4de2d8b228dba30a61c5f4cc3a11cdf4ce63.tar.gz |
Add standard deviation to gateway status and widget
Diffstat (limited to 'src/usr/local/www/widgets')
-rw-r--r-- | src/usr/local/www/widgets/widgets/gateways.widget.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/local/www/widgets/widgets/gateways.widget.php b/src/usr/local/www/widgets/widgets/gateways.widget.php index 69aeac0..16cd219 100644 --- a/src/usr/local/www/widgets/widgets/gateways.widget.php +++ b/src/usr/local/www/widgets/widgets/gateways.widget.php @@ -88,6 +88,7 @@ if ($_POST) { <tr> <th><?=gettext("Name")?></th> <th>RTT</th> + <th>RTTsd</th> <th><?=gettext("Loss")?></th> <th><?=gettext("Status")?></th> </tr> @@ -255,10 +256,11 @@ function compose_table_body_contents() { } $rtnstr .= "<td>" . ($gateways_status[$gname] ? htmlspecialchars($gateways_status[$gname]['delay']) : gettext("Pending")) . "</td>\n"; + $rtnstr .= "<td>" . ($gateways_status[$gname] ? htmlspecialchars($gateways_status[$gname]['stddev']) : gettext("Pending")) . "</td>\n"; $rtnstr .= "<td>" . ($gateways_status[$gname] ? htmlspecialchars($gateways_status[$gname]['loss']) : gettext("Pending")) . "</td>\n"; $rtnstr .= '<td class="bg-' . $bgcolor . '">' . $online . "</td>\n"; $rtnstr .= "</tr>\n"; } return($rtnstr); } -?>
\ No newline at end of file +?> |