From 366e2be817c3d35c8d0cceeaccf0c37213eae854 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 6 Nov 2010 15:22:59 -0400 Subject: Show interface description --- usr/local/www/status_graph.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr') 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 "\n"; + echo ">" . strtoupper(htmlspecialchars($ifd)) . " (" . strtoupper($ifn) . ")\n"; } ?> -- cgit v1.1