summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_graph.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-06 15:22:59 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-11-06 15:22:59 -0400
commit366e2be817c3d35c8d0cceeaccf0c37213eae854 (patch)
tree76c421d7ce8bbb8e99fa61affa459f480109cc2e /usr/local/www/status_graph.php
parent2c4a13d91b72400c07b965b0a522be8dde2d1110 (diff)
downloadpfsense-366e2be817c3d35c8d0cceeaccf0c37213eae854.zip
pfsense-366e2be817c3d35c8d0cceeaccf0c37213eae854.tar.gz
Show interface description
Diffstat (limited to 'usr/local/www/status_graph.php')
-rwxr-xr-xusr/local/www/status_graph.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php
index a783999..0856e50 100755
--- a/usr/local/www/status_graph.php
+++ b/usr/local/www/status_graph.php
@@ -55,7 +55,7 @@ else
$height = "200";
// Get configured interface list
-$ifdescrs = get_configured_interface_list();
+$ifdescrs = get_configured_interface_with_descr();
if ($_GET['if']) {
$curif = $_GET['if'];
@@ -173,7 +173,7 @@ if (isset($config['ipsec']['enable']) || isset($config['ipsec']['mobileclients']
foreach ($ifdescrs as $ifn => $ifd) {
echo "<option value=\"$ifn\"";
if ($ifn == $curif) echo " selected";
- echo ">" . strtoupper(htmlspecialchars($ifd)) . "</option>\n";
+ echo ">" . strtoupper(htmlspecialchars($ifd)) . " (" . strtoupper($ifn) . ")</option>\n";
}
?>
</select>
OpenPOWER on IntegriCloud