handle aliases without names

This commit is contained in:
Nils Schneider 2013-02-02 01:27:49 +01:00
parent 3893963553
commit db4dec7270

View file

@ -171,6 +171,7 @@ class NodeDB:
node.add_mac(mac)
self._nodes.append(node)
if 'name' in alias:
node.name = alias['name']
if 'vpn' in alias and alias['vpn']: