use fuzzy mac matching when importing aliases

This commit is contained in:
Nils Schneider 2013-02-02 02:44:49 +01:00
parent d9a9927ecb
commit ec03ffe810

View file

@ -164,7 +164,7 @@ class NodeDB:
def import_aliases(self, aliases):
for mac, alias in aliases.items():
try:
node = self.maybe_node_by_mac((mac, ))
node = self.maybe_node_by_fuzzy_mac(mac)
except:
# create an offline node
node = Node()