summaryrefslogtreecommitdiffhomepage
path: root/table/table_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/table_test.go')
-rw-r--r--table/table_test.go6
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
}