From 9df7b91411299622adc70479fba188f818d96999 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 20 Sep 2015 12:37:13 +0300 Subject: [PATCH] Fixed test passing Signed-off-by: Sergey Matveev --- src/govpn/peer_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/govpn/peer_test.go b/src/govpn/peer_test.go index 9bad8c6..0b8b917 100644 --- a/src/govpn/peer_test.go +++ b/src/govpn/peer_test.go @@ -28,10 +28,10 @@ func init() { MTU = 1500 peerId, _ = IDDecode("ffffffffffffffffffffffffffffffff") conf = &PeerConf{ - Id: peerId, - Timeout: time.Second * time.Duration(TimeoutDefault), - NoiseEnable: false, - CPR: 0, + Id: peerId, + Timeout: time.Second * time.Duration(TimeoutDefault), + Noise: false, + CPR: 0, } peer = newPeer(true, "foo", Dummy{&ciphertext}, conf, new([SSize]byte)) plaintext = make([]byte, 789) -- 2.44.0