routing-helper: fix route computation bug

Route computation for link-state had a bug, neighbor's list
contained the host itself and so the computation was erroneous,
and ultimately crashing.

Change-Id: I461476eef83b73b64ae943f6f08bf576e3719b94
This commit is contained in:
Saurab Dulal committed 2020-03-17 21:30:14 -05:00
1 parent 55e2dd9087
commit 082e4449bb
3 files changed
+39 -18

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
[nodes]
kisti: _ radius=10.3702985908827 angle=0.716433223334,0.0545806345001
uum: _ radius=1.6094379124341003 angle=1.67926190756,1.86479930822
remap: _ radius=6.530877627725885 angle=0.895062959887,6.12377862701
ntnu: _ radius=1.791759469228055 angle=0.947897043404,2.43808027724
tongji: _ radius=1.791759469228055 angle=1.17730242215,1.99086740715
[links]
kisti:remap delay=20ms
uum:tongji delay=15ms
remap:uum delay=13ms
ntnu:kisti delay=10ms
tongji:ntnu delay=10ms
uum:ntnu delay=20ms