don't count merged TT links

alfred-data
Nils Schneider 2012-06-06 14:19:45 +02:00
parent ad618ff010
commit ed938a2d64
1 changed files with 2 additions and 1 deletions

View File

@ -119,6 +119,7 @@ class NodeDB:
a = self._nodes.index(router) a = self._nodes.index(router)
b = self._nodes.index(neighbor) b = self._nodes.index(neighbor)
if a != b:
self.add_link(a, b, x['label']) self.add_link(a, b, x['label'])
for line in lines: for line in lines: