include offline nodes from aliases.json in output

This commit is contained in:
Nils Schneider 2012-11-22 02:35:14 +01:00
parent 8e62ca2f37
commit 5613fa2f61

View file

@ -170,7 +170,10 @@ class NodeDB:
try:
node = self.maybe_node_by_mac((mac, ))
except:
continue
# create an offline node
node = Node()
node.add_mac(mac)
self._nodes.append(node)
node.name = alias['name']