From 00bbd02b1d53aeb9a3a39c8922749f83445b9c0b Mon Sep 17 00:00:00 2001 From: Louis Rossouw Date: Sun, 19 Jul 2015 21:08:11 +0200 Subject: [PATCH] Ignore links based on 'unreal' mac adresses. --- html/includes/print-map.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/html/includes/print-map.inc.php b/html/includes/print-map.inc.php index 5e8e64e532..442b3728cf 100644 --- a/html/includes/print-map.inc.php +++ b/html/includes/print-map.inc.php @@ -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`