From ec03ffe810c793d89bc447afaf94fc122156b386 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sat, 2 Feb 2013 02:44:49 +0100 Subject: [PATCH] use fuzzy mac matching when importing aliases --- nodedb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodedb.py b/nodedb.py index a0905a8..d2584db 100644 --- a/nodedb.py +++ b/nodedb.py @@ -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()