summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/status_interfaces.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php
index b108e1a..29d0e3a 100755
--- a/usr/local/www/status_interfaces.php
+++ b/usr/local/www/status_interfaces.php
@@ -184,7 +184,7 @@ include("head.inc");
</td>
</tr><?php endif; ?>
<tr>
- <td width="22%" class="vncellt">In/out packets (pass)</td>
+ <td width="22%" class="vncellt">In/out packets</td>
<td width="78%" class="listr">
<?php
echo htmlspecialchars($ifinfo['inpkts'] . "/" . $ifinfo['outpkts'] . " (");
@@ -193,6 +193,15 @@ include("head.inc");
</td>
</tr>
<tr>
+ <td width="22%" class="vncellt">In/out packets (pass)</td>
+ <td width="78%" class="listr">
+ <?php
+ echo htmlspecialchars($ifinfo['inpktspass'] . "/" . $ifinfo['outpktspass'] . " (");
+ echo htmlspecialchars(format_bytes($ifinfo['inbytespass']) . "/" . format_bytes($ifinfo['outbytespass']) . ")");
+ ?>
+ </td>
+ </tr>
+ <tr>
<td width="22%" class="vncellt">In/out packets (block)</td>
<td width="78%" class="listr">
<?php
OpenPOWER on IntegriCloud