mirror of
https://github.com/librenms/librenms.git
synced 2024-09-29 14:26:25 +00:00
Merge pull request #1482 from spinza/fixzeromac
Ignore links based on 'unreal' mac addresses.
This commit is contained in:
commit
b786e89f16
@ -68,6 +68,7 @@ if (in_array('mac',$config['network_map_items'])) {
|
||||
LEFT JOIN `devices` AS `D2` ON `P2`.`device_id`=`D2`.`device_id`
|
||||
$join_sql
|
||||
WHERE
|
||||
`M`.`mac_address` NOT IN ('000000000000','ffffffffffff')
|
||||
`P1`.`port_id` IS NOT NULL AND
|
||||
`P2`.`port_id` IS NOT NULL AND
|
||||
`D1`.`device_id` != `D2`.`device_id`
|
||||
|
Loading…
Reference in New Issue
Block a user