summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_ndp.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/diag_ndp.php')
-rw-r--r--src/usr/local/www/diag_ndp.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_ndp.php b/src/usr/local/www/diag_ndp.php
index 461d397..f87b43f 100644
--- a/src/usr/local/www/diag_ndp.php
+++ b/src/usr/local/www/diag_ndp.php
@@ -165,10 +165,11 @@ include("head.inc");
</td>
<td>
<?php
- if (isset($hwif[$entry['interface']]))
+ if (isset($hwif[$entry['interface']])) {
echo $hwif[$entry['interface']];
- else
+ } else {
echo $entry['interface'];
+ }
?>
</td>
</tr>
OpenPOWER on IntegriCloud