summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_assign.php
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-05-12 18:38:11 +0700
committergnhb <gnoahb@gmail.com>2010-05-12 18:38:11 +0700
commit04d36b1f1fdff85cd902b9aa15103b98475b4777 (patch)
treefb41d6267fba56e5049c516d21187fed4ec68695 /usr/local/www/interfaces_assign.php
parentd85ba87ff3e387e1b059223917bdae4d47753b53 (diff)
downloadpfsense-04d36b1f1fdff85cd902b9aa15103b98475b4777.zip
pfsense-04d36b1f1fdff85cd902b9aa15103b98475b4777.tar.gz
Small changes to fix up these pages a little bit.
Diffstat (limited to 'usr/local/www/interfaces_assign.php')
-rwxr-xr-xusr/local/www/interfaces_assign.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index 3c88765..427d303 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -132,11 +132,11 @@ if (is_array($config['ppps']['ppp']) && count($config['ppps']['ppp'])) {
$portlist[$portname] = $ppp;
$portlist[$portname]['isppp'] = true;
if (isset($ppp['descr']))
- $portlist[$portname]['descr'] = strtoupper($ppp['type']) . " - ". $ppp['descr'];
+ $portlist[$portname]['descr'] = strtoupper($ppp['type']). "({$ppp['ports']}) - {$ppp['descr']}";
else if (isset($ppp['username']))
- $portlist[$portname]['descr'] = strtoupper($ppp['type']) . " - ". $ppp['username'];
+ $portlist[$portname]['descr'] = strtoupper($ppp['type']). "({$ppp['ports']}) - {$ppp['username']}";
else
- $portlist[$portname]['descr'] = strtoupper($ppp['type']) . " - ". $ppp['ports'];
+ $portlist[$portname]['descr'] = strtoupper($ppp['type']). "({$ppp['ports']})";
}
}
OpenPOWER on IntegriCloud