Merge pull request #26 from T-X/for-upstream
try non-fuzzy prior fuzzy mac matching
This commit is contained in:
commit
b3a921347c
|
@ -168,6 +168,9 @@ class NodeDB:
|
||||||
|
|
||||||
def import_aliases(self, aliases):
|
def import_aliases(self, aliases):
|
||||||
for mac, alias in aliases.items():
|
for mac, alias in aliases.items():
|
||||||
|
try:
|
||||||
|
node = self.maybe_node_by_mac([mac])
|
||||||
|
except:
|
||||||
try:
|
try:
|
||||||
node = self.maybe_node_by_fuzzy_mac(mac)
|
node = self.maybe_node_by_fuzzy_mac(mac)
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue