fix link loops

alfred-data
Nils Schneider 2012-06-12 00:32:13 +02:00
parent e98f70e5b6
commit 0d24e4518f
1 changed files with 4 additions and 0 deletions

View File

@ -110,6 +110,10 @@ class NodeDB:
except: except:
continue continue
# filter TT links merged in previous step
if router == neighbor:
continue
link = Link() link = Link()
link.source = LinkConnector() link.source = LinkConnector()
link.source.interface = x['router'] link.source.interface = x['router']