diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-04-20 18:07:18 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-04-21 13:32:37 +0900 |
commit | 92012ee629d2d36f51c3fe646cdf5b94c7823078 (patch) | |
tree | 44d4bf184437bf481b0d74575fc40147c3f7b5ca /table/table_manager_test.go | |
parent | fb83e41aebfa0b51c5e454d1f77870513d47e82d (diff) |
table: Destination's Calculate doesn't need to return newly added paths
Nobody uses them.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table/table_manager_test.go')
-rw-r--r-- | table/table_manager_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/table/table_manager_test.go b/table/table_manager_test.go index 38f16eaf..21d70d84 100644 --- a/table/table_manager_test.go +++ b/table/table_manager_test.go @@ -30,7 +30,7 @@ import ( // this function processes only BGPUpdate func (manager *TableManager) ProcessUpdate(fromPeer *PeerInfo, message *bgp.BGPMessage) ([]*Path, error) { paths := ProcessMessage(message, fromPeer, time.Now()) - best, _, _ := manager.ProcessPaths([]string{GLOBAL_RIB_NAME}, paths) + best, _ := manager.ProcessPaths([]string{GLOBAL_RIB_NAME}, paths) paths2 := make([]*Path, 0, len(paths)) for _, p := range best[GLOBAL_RIB_NAME] { if p != nil { |