diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-11-06 15:22:59 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-11-06 15:22:59 -0400 |
commit | 366e2be817c3d35c8d0cceeaccf0c37213eae854 (patch) | |
tree | 76c421d7ce8bbb8e99fa61affa459f480109cc2e /usr | |
parent | 2c4a13d91b72400c07b965b0a522be8dde2d1110 (diff) | |
download | pfsense-366e2be817c3d35c8d0cceeaccf0c37213eae854.zip pfsense-366e2be817c3d35c8d0cceeaccf0c37213eae854.tar.gz |
Show interface description
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_graph.php | 4 |
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> |