]> Cypherpunks.ru repositories - govpn.git/commitdiff
Fixed test passing
authorSergey Matveev <stargrave@stargrave.org>
Sun, 20 Sep 2015 09:37:13 +0000 (12:37 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 20 Sep 2015 09:37:13 +0000 (12:37 +0300)
Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
src/govpn/peer_test.go

index 9bad8c6960a792c1ca41b766289188aa977dc1a0..0b8b917c5d44fb3bf3e95b3c398bdd10f4cd4f58 100644 (file)
@@ -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)