mirror of
https://github.com/cwinfo/yggdrasil-map
synced 2024-11-24 09:51:35 +00:00
better labels for unknown nodes
This commit is contained in:
parent
afbf59cf08
commit
a6df0a3b7c
@ -42,7 +42,7 @@ def generate_graph(time_limit=60*60*3):
|
||||
def addAncestors(info):
|
||||
coords = info.getParent()
|
||||
parent = NodeInfo("{} {}".format("?", coords), coords)
|
||||
parent.label = "?"
|
||||
parent.label = parent.ip
|
||||
nodes[parent.coords] = parent
|
||||
if parent.coords != parent.getParent(): addAncestors(parent)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user