From 81debd44c8b673a7dcdf606c14b94f645fb27f85 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Sat, 4 Jun 2011 20:43:31 -0400 Subject: Show the MAC on the page rather than just a hover, too many times it needs to be copied/pasted or quickly viewed, and the vendor isn't nearly as useful as the actual MAC. --- usr/local/www/status_interfaces.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local') diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php index 6c98a34..db88536 100755 --- a/usr/local/www/status_interfaces.php +++ b/usr/local/www/status_interfaces.php @@ -180,7 +180,7 @@ include("head.inc"); " . htmlspecialchars($mac_man[$mac_hi]); print ""; } + if(isset($mac_man[$mac_hi])){ print "" . $mac . " - " . htmlspecialchars($mac_man[$mac_hi]); print ""; } else {print htmlspecialchars($mac);} ?> -- cgit v1.1