include offline nodes from aliases.json in output
This commit is contained in:
parent
8e62ca2f37
commit
5613fa2f61
1 changed files with 4 additions and 1 deletions
|
@ -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']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue