aboutsummaryrefslogtreecommitdiff
path: root/src/constants.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-27 23:45:37 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-27 23:45:37 +0200
commitfb3fa4f9158458654281129f44f354a65741aef3 (patch)
tree92bd2213f9b51f56bd2fe8178192d33180bb10be /src/constants.go
parent47f8a3d89ad0d1478246bf62140eb4fbfe83ac72 (diff)
downloadwireguard-go-fb3fa4f9158458654281129f44f354a65741aef3.tar.gz
wireguard-go-fb3fa4f9158458654281129f44f354a65741aef3.zip
Improved timer code
Diffstat (limited to 'src/constants.go')
-rw-r--r--src/constants.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/constants.go b/src/constants.go
index 6b0d414..09d33d8 100644
--- a/src/constants.go
+++ b/src/constants.go
@@ -20,6 +20,7 @@ const (
const (
RekeyAfterTimeReceiving = RekeyAfterTime - KeepaliveTimeout - RekeyTimeout
+ NewHandshakeTime = KeepaliveTimeout + RekeyTimeout // upon failure to acknowledge transport message
)
/* Implementation specific constants */