summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/interfaces_ppps.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_ppps.php b/usr/local/www/interfaces_ppps.php
index 9c76179..180c161 100644
--- a/usr/local/www/interfaces_ppps.php
+++ b/usr/local/www/interfaces_ppps.php
@@ -112,7 +112,14 @@ include("head.inc");
<?=htmlspecialchars($ppp['if']);?>
</td>
<td class="listr">
- <?=htmlspecialchars($ppp['ports']);?>
+ <?php
+ $portlist = explode(",", $ppp['ports']);
+ foreach ($portlist as $portid => $port) {
+ if ($port != get_real_interface($port))
+ $portlist[$portid] = convert_friendly_interface_to_friendly_descr($port);
+ }
+ echo htmlspecialchars(implode(",", $portlist));
+ ?>
</td>
<td class="listbg">
<?=htmlspecialchars($ppp['descr']);?>&nbsp;
OpenPOWER on IntegriCloud