summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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
)