use fuzzy mac matching when importing aliases
This commit is contained in:
parent
d9a9927ecb
commit
ec03ffe810
|
@ -164,7 +164,7 @@ 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:
|
try:
|
||||||
node = self.maybe_node_by_mac((mac, ))
|
node = self.maybe_node_by_fuzzy_mac(mac)
|
||||||
except:
|
except:
|
||||||
# create an offline node
|
# create an offline node
|
||||||
node = Node()
|
node = Node()
|
||||||
|
|
Loading…
Reference in a new issue