summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/interfaces_ppps.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/interfaces_ppps.php')
-rw-r--r--src/usr/local/www/interfaces_ppps.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/local/www/interfaces_ppps.php b/src/usr/local/www/interfaces_ppps.php
index 076ecf7..f3160ec 100644
--- a/src/usr/local/www/interfaces_ppps.php
+++ b/src/usr/local/www/interfaces_ppps.php
@@ -107,7 +107,7 @@ if (!is_array($config['ppps']['ppp'])) {
}
$a_ppps = $config['ppps']['ppp'];
-$pgtitle = array(gettext("Interfaces"),gettext("PPPs"));
+$pgtitle = array(gettext("Interfaces"), gettext("PPPs"));
$shortcut_section = "interfaces";
include("head.inc");
@@ -149,8 +149,9 @@ foreach ($a_ppps as $id => $ppp) {
<?php
$portlist = explode(",", $ppp['ports']);
foreach ($portlist as $portid => $port) {
- if ($port != get_real_interface($port) && $ppp['type'] != "ppp")
+ if ($port != get_real_interface($port) && $ppp['type'] != "ppp") {
$portlist[$portid] = convert_friendly_interface_to_friendly_descr($port);
+ }
}
echo htmlspecialchars(implode(",", $portlist));
?>
OpenPOWER on IntegriCloud