summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-06-10 13:32:56 +0000
committerErmal <eri@pfsense.org>2010-06-10 13:32:56 +0000
commit64b4be44b1d194a1818c596d17f3c948ac32c59c (patch)
treee83d5023bcd910a6d04ebfdbfb7785b808920749 /usr
parent8d73e7a932b632113be7129b347cd6a0cedb5ab6 (diff)
downloadpfsense-64b4be44b1d194a1818c596d17f3c948ac32c59c.zip
pfsense-64b4be44b1d194a1818c596d17f3c948ac32c59c.tar.gz
Show friendly interface name on the gui for members when they are assigned interfaces.
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