diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-03 23:05:23 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-04 20:30:51 +0900 |
commit | 52ddad958f10ae9ea7ab8c40130825c903d08c52 (patch) | |
tree | 4097992e648a41e75928e89dad134ff67abfff37 /table/table_test.go | |
parent | a3cb22a9027b4fd9f360f873b976472aad4ae173 (diff) |
table: remove Path's source version
Even if a connection with peer is down and up, table code gets
BGPmessages belonging the first connection before the event of the
peer down in order. So we don't need source version stuff inherent
from Ryu BGP code.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table/table_test.go')
-rw-r--r-- | table/table_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/table/table_test.go b/table/table_test.go index 0827df74..74381e8b 100644 --- a/table/table_test.go +++ b/table/table_test.go @@ -107,9 +107,9 @@ func TestTableGetDestinations(t *testing.T) { } func TableCreatePeer() []*PeerInfo { - peerT1 := &PeerInfo{VersionNum: 4, AS: 65000} - peerT2 := &PeerInfo{VersionNum: 4, AS: 65001} - peerT3 := &PeerInfo{VersionNum: 4, AS: 65002} + peerT1 := &PeerInfo{AS: 65000} + peerT2 := &PeerInfo{AS: 65001} + peerT3 := &PeerInfo{AS: 65002} peerT := []*PeerInfo{peerT1, peerT2, peerT3} return peerT } |