mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Show RTT and Loss on Status > Gateways, not just on the widget
This commit is contained in:
parent
230b3b1b65
commit
c6023b4ac9
@ -72,7 +72,9 @@ include("head.inc");
|
||||
<td width="10%" class="listhdrr"><?=gettext("Name"); ?></td>
|
||||
<td width="10%" class="listhdrr"><?=gettext("Gateway"); ?></td>
|
||||
<td width="10%" class="listhdrr"><?=gettext("Monitor"); ?></td>
|
||||
<td width="30%" class="listhdrr"><?=gettext("Status"); ?></td>
|
||||
<td width="10%" class="listhdrr"><?=gettext("RTT"); ?></td>
|
||||
<td width="10%" class="listhdrr"><?=gettext("Loss"); ?></td>
|
||||
<td width="20%" class="listhdrr"><?=gettext("Status"); ?></td>
|
||||
<td width="30%" class="listhdr"><?=gettext("Description"); ?></td>
|
||||
</tr>
|
||||
<?php foreach ($a_gateways as $gname => $gateway) {
|
||||
@ -91,6 +93,22 @@ include("head.inc");
|
||||
echo $gateway['monitorip'];
|
||||
?>
|
||||
</td>
|
||||
<td class="listr" align="center">
|
||||
<?php if ($gateways_status[$gname])
|
||||
echo $gateways_status[$gname]['delay'];
|
||||
else
|
||||
echo gettext("Gathering data");
|
||||
?>
|
||||
<?php $counter++; ?>
|
||||
</td>
|
||||
<td class="listr" align="center">
|
||||
<?php if ($gateways_status[$gname])
|
||||
echo $gateways_status[$gname]['loss'];
|
||||
else
|
||||
echo gettext("Gathering data");
|
||||
?>
|
||||
<?php $counter++; ?>
|
||||
</td>
|
||||
<td class="listr" >
|
||||
<table border="0" cellpadding="0" cellspacing="2">
|
||||
<?php
|
||||
|
||||
Loading…
Reference in New Issue
Block a user