From 0d24e4518f79133cb40c4d0545f99cc897a66d3b Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Tue, 12 Jun 2012 00:32:13 +0200 Subject: [PATCH] fix link loops --- nodedb.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nodedb.py b/nodedb.py index f553f81..45a4218 100644 --- a/nodedb.py +++ b/nodedb.py @@ -110,6 +110,10 @@ class NodeDB: except: continue + # filter TT links merged in previous step + if router == neighbor: + continue + link = Link() link.source = LinkConnector() link.source.interface = x['router']