aboutsummaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-25 02:07:18 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-25 02:07:18 +0200
commite7e286ba6cf7a952279d5007f71c7d38cb510610 (patch)
treeb3cea36e2559940944cbea1ccb4d923fbb3f97fb /device
parentdevice: timers: add jitter on ack failure reinitiation (diff)
downloadwireguard-go-e7e286ba6cf7a952279d5007f71c7d38cb510610.tar.xz
wireguard-go-e7e286ba6cf7a952279d5007f71c7d38cb510610.zip
device: make initiations per second match kernel implementation
Diffstat (limited to 'device')
-rw-r--r--device/constants.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/constants.go b/device/constants.go
index 27d910f..e316f32 100644
--- a/device/constants.go
+++ b/device/constants.go
@@ -22,7 +22,7 @@ const (
RejectAfterTime = time.Second * 180
KeepaliveTimeout = time.Second * 10
CookieRefreshTime = time.Second * 120
- HandshakeInitationRate = time.Second / 20
+ HandshakeInitationRate = time.Second / 50
PaddingMultiple = 16
)