Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2094 → Rev 2095

/web/acc/manager/htdocs/activity.php
114,6 → 114,11
{
$oui_id = substr(str_replace("-","",$detail[0]),0,6);
exec ("grep $oui_id /usr/share/arp-scan/ieee-oui.txt | cut -f2", $mac_manufacturer);
if(empty($mac_manufacturer[0]))
{
$mac_manufacturer[0] = "Unknown";
}
 
echo "<TD>$detail[0] ($mac_manufacturer[0])</TD>";
unset($mac_manufacturer);
}