diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-08-17 16:50:58 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-19 13:29:33 +0900 |
commit | 79ed96fdc1a171de4b13108c7ca9c154d6d7fcd4 (patch) | |
tree | bfd691f15f5a369d1717112cc95d61cf19d843a4 /table/destination_test.go | |
parent | c14a63575c62addaf96c78f4de9aef6e3c430f0f (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.go | 2 |
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) } |