...
 
Commits (2)
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Segment MAC discovery # Segment MAC discovery
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Copyright (C) 2007-2017 The NOC Project # Copyright (C) 2007-2020 The NOC Project
# See LICENSE for details # See LICENSE for details
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
...@@ -77,7 +77,7 @@ class MACDiscoveryCheck(TopologyDiscoveryCheck): ...@@ -77,7 +77,7 @@ class MACDiscoveryCheck(TopologyDiscoveryCheck):
fib = {} # object -> interface -> {seen objects} fib = {} # object -> interface -> {seen objects}
for mo, mac, iface, ts in mtable: for mo, mac, iface, ts in mtable:
ro = object_macs.get(mac) ro = object_macs.get(mac)
if not ro: if not ro or ro == mo:
continue continue
if mo not in fib: if mo not in fib:
fib[mo] = {} fib[mo] = {}
......