summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 52c9232..2aa551d 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -286,6 +286,7 @@ echo $jscriptstr;
$ifinfo = get_interface_info($ifdescr);
$ifnum = convert_friendly_interface_to_real_interface_name($ifname);
+ if ($ifinfo['status'] != "down"){
?>
<tr>
<td colspan="2" class="listtopic">Current <?=$ifname;?> Traffic</td>
@@ -311,7 +312,8 @@ echo $jscriptstr;
<? } ?>
</td>
</tr><tr><td>&nbsp;</td></tr>
- <? } ?>
+ <? }
+ }?>
</tbody>
</table><br>
OpenPOWER on IntegriCloud