aboutsummaryrefslogtreecommitdiff
path: root/src/constants.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-07 13:47:09 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-07 13:47:09 +0200
commited31e757392d1f8a907250b19c64b59451c440db (patch)
treef4279f1555bbfadcace402332b75f01c5c6935f4 /src/constants.go
parent70179f8c8c2eeb39c9a3666012481a25ce39b338 (diff)
downloadwireguard-go-ed31e757392d1f8a907250b19c64b59451c440db.tar.gz
wireguard-go-ed31e757392d1f8a907250b19c64b59451c440db.zip
Fixed cookie reply processing bug
Diffstat (limited to 'src/constants.go')
-rw-r--r--src/constants.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constants.go b/src/constants.go
index 053ba4f..6fbb7a0 100644
--- a/src/constants.go
+++ b/src/constants.go
@@ -12,7 +12,7 @@ const (
RejectAfterTime = time.Second * 180
RejectAfterMessages = (1 << 64) - (1 << 4) - 1
KeepaliveTimeout = time.Second * 10
- CookieRefreshTime = time.Second * 2
+ CookieRefreshTime = time.Minute * 2
MaxHandshakeAttemptTime = time.Second * 90
)