diff options
author | Chris Buechler <cmb@pfsense.org> | 2011-06-04 20:43:31 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2011-06-04 20:43:31 -0400 |
commit | 81debd44c8b673a7dcdf606c14b94f645fb27f85 (patch) | |
tree | ba3806c8b9933b46883b1ae90ad5ee1277e22d1f /usr | |
parent | 5cb0360bf47e000f1d3e41266b8225479a490e40 (diff) | |
download | pfsense-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')
-rwxr-xr-x | usr/local/www/status_interfaces.php | 2 |
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> |