mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Refactor FDB Tables to Laravel (#9669)
* Refactor FDB Tables to Laravel Hopefully much better performance with large tables. Better dns resolution (limit to 4 IPs tried per MAC) * update style * de-duplicate IPs * fixed column width for mac and vlan * Make DNS column visibility control whether or not we send the dns query. Hide that column by default.
This commit is contained in:
@@ -36,9 +36,7 @@ function rewrite_location($location)
|
||||
|
||||
function formatMac($mac)
|
||||
{
|
||||
$mac = preg_replace('/(..)(..)(..)(..)(..)(..)/', '\\1:\\2:\\3:\\4:\\5:\\6', $mac);
|
||||
|
||||
return $mac;
|
||||
return \LibreNMS\Util\Rewrite::readableMac($mac);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user