mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
ARP Discovery use MacHelper (#15479)
* Update arp-table.inc.php * Import class --------- Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
parent
b263772d23
commit
66af1a54e8
@ -55,7 +55,7 @@ foreach (DeviceCache::getPrimary()->getVrfContexts() as $context_name) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$mac = implode(array_map('zeropad', explode(':', $raw_mac)));
|
||||
$mac = Mac::parse($raw_mac)->hex();
|
||||
$arp_table[$port_id][$ip] = $mac;
|
||||
|
||||
$index = false;
|
||||
|
Loading…
Reference in New Issue
Block a user