summaryrefslogtreecommitdiffhomepage
path: root/table/destination_test.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-08-17 16:50:58 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-19 13:29:33 +0900
commit79ed96fdc1a171de4b13108c7ca9c154d6d7fcd4 (patch)
treebfd691f15f5a369d1717112cc95d61cf19d843a4 /table/destination_test.go
parentc14a63575c62addaf96c78f4de9aef6e3c430f0f (diff)
table: fix best path selection which considers local asn
TableManager.localAsn wasn't used. Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'table/destination_test.go')
-rw-r--r--table/destination_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/destination_test.go b/table/destination_test.go
index 80eaa2a4..f46851f9 100644
--- a/table/destination_test.go
+++ b/table/destination_test.go
@@ -102,7 +102,7 @@ func TestDestinationCalculate(t *testing.T) {
ipv4d.addNewPath(pathD[1])
ipv4d.addNewPath(pathD[2])
ipv4d.addWithdraw(pathD[2])
- _, _, e := ipv4d.Calculate(uint32(100))
+ _, _, e := ipv4d.Calculate()
assert.Nil(t, e)
}