diff options
author | jim-p <jimp@pfsense.org> | 2011-05-16 15:39:45 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-05-16 15:40:44 -0400 |
commit | 701989fbe44f22fc7ea1848ac7c14f361178e5c2 (patch) | |
tree | 5278d7d0766d3d53cbb43859bbb1ff09ce29bef9 /usr/local/www/diag_arp.php | |
parent | 73bf4a46d9083140c943a5d5c0ea69745ce9b905 (diff) | |
download | pfsense-701989fbe44f22fc7ea1848ac7c14f361178e5c2.zip pfsense-701989fbe44f22fc7ea1848ac7c14f361178e5c2.tar.gz |
Print the MAC mfg on another line in a smaller font if it's found. Less obtrusive than completely replacing the MAC.
Diffstat (limited to 'usr/local/www/diag_arp.php')
-rwxr-xr-x | usr/local/www/diag_arp.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_arp.php b/usr/local/www/diag_arp.php index 3adc2a8..4665a44 100755 --- a/usr/local/www/diag_arp.php +++ b/usr/local/www/diag_arp.php @@ -309,8 +309,8 @@ $mac_man = load_mac_manufacturer_table(); <?php $mac=$entry['mac']; $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\">{$mac_man[$mac_hi]}</span>"; } - else{ print $mac; } + print $mac; + if(isset($mac_man[$mac_hi])){ print "<br/><font size=\"-2\"><i>{$mac_man[$mac_hi]}</i></font>"; } ?> <td class="listr"> <?php |