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:
Tony Murray
2019-01-20 08:43:36 -06:00
committed by GitHub
parent e2c4fa971e
commit ef41c9fd7d
14 changed files with 379 additions and 178 deletions

View File

@@ -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);
}