summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
032688f)
Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
MTU = 1500
peerId, _ = IDDecode("ffffffffffffffffffffffffffffffff")
conf = &PeerConf{
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)
}
peer = newPeer(true, "foo", Dummy{&ciphertext}, conf, new([SSize]byte))
plaintext = make([]byte, 789)