summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_interfaces.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2011-06-04 20:43:31 -0400
committerChris Buechler <cmb@pfsense.org>2011-06-04 20:43:31 -0400
commit81debd44c8b673a7dcdf606c14b94f645fb27f85 (patch)
treeba3806c8b9933b46883b1ae90ad5ee1277e22d1f /usr/local/www/status_interfaces.php
parent5cb0360bf47e000f1d3e41266b8225479a490e40 (diff)
downloadpfsense-81debd44c8b673a7dcdf606c14b94f645fb27f85.zip
pfsense-81debd44c8b673a7dcdf606c14b94f645fb27f85.tar.gz
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.
Diffstat (limited to 'usr/local/www/status_interfaces.php')
-rwxr-xr-xusr/local/www/status_interfaces.php2
1 files changed, 1 insertions, 1 deletions
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");
<?php
$mac=$ifinfo['macaddr'];
$mac_hi = strtoupper($mac[0] . $mac[1] . $mac[3] . $mac[4] . $mac[6] . $mac[7]);
- if(isset($mac_man[$mac_hi])){ print "<span title=\"$mac\">" . htmlspecialchars($mac_man[$mac_hi]); print "</span>"; }
+ if(isset($mac_man[$mac_hi])){ print "<span>" . $mac . " - " . htmlspecialchars($mac_man[$mac_hi]); print "</span>"; }
else {print htmlspecialchars($mac);}
?>
</td>
OpenPOWER on IntegriCloud