From: Sergey Matveev Date: Sun, 20 Sep 2015 09:37:13 +0000 (+0300) Subject: Fixed test passing X-Git-Tag: 4.1^2~6 X-Git-Url: http://www.git.cypherpunks.ru/?p=govpn.git;a=commitdiff_plain;h=9df7b91411299622adc70479fba188f818d96999 Fixed test passing Signed-off-by: Sergey Matveev --- 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)