summaryrefslogtreecommitdiffhomepage
path: root/table/destination_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/destination_test.go')
-rw-r--r--table/destination_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/table/destination_test.go b/table/destination_test.go
index e003ce67..2398773e 100644
--- a/table/destination_test.go
+++ b/table/destination_test.go
@@ -111,9 +111,9 @@ func TestDestinationCalculate(t *testing.T) {
}
func DestCreatePeer() []*PeerInfo {
- peerD1 := &PeerInfo{VersionNum: 4, AS: 65000}
- peerD2 := &PeerInfo{VersionNum: 4, AS: 65001}
- peerD3 := &PeerInfo{VersionNum: 4, AS: 65002}
+ peerD1 := &PeerInfo{AS: 65000}
+ peerD2 := &PeerInfo{AS: 65001}
+ peerD3 := &PeerInfo{AS: 65002}
peerD := []*PeerInfo{peerD1, peerD2, peerD3}
return peerD
}