summaryrefslogtreecommitdiffhomepage
path: root/constants.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-02-18 20:58:43 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-02-18 20:58:43 +0100
commit519c5d200ab5804cec2fc02136538d091e57c3f5 (patch)
tree9d82cc8d42995b042b1d157898ffe3265f71322e /constants.go
parent9de17e6c9c90f3bf3ec3eb709a92c9e1295a6d67 (diff)
Fix timer typo
Diffstat (limited to 'constants.go')
-rw-r--r--constants.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/constants.go b/constants.go
index 71dd98e..8835f92 100644
--- a/constants.go
+++ b/constants.go
@@ -20,7 +20,7 @@ const (
)
const (
- RekeyAfterTimeReceiving = RekeyAfterTime - KeepaliveTimeout - RekeyTimeout
+ RekeyAfterTimeReceiving = RejectAfterTime - KeepaliveTimeout - RekeyTimeout
NewHandshakeTime = KeepaliveTimeout + RekeyTimeout // upon failure to acknowledge transport message
)