summaryrefslogtreecommitdiffhomepage
path: root/device/constants.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-05-19 17:46:29 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-05-19 17:46:35 -0600
commit31faf4c1598c67ba3b2ade4471e0a80ee4b0c968 (patch)
treed0cef4ab8105bf96dadf3be2985e481b61bad622 /device/constants.go
parent99eb7896be17cc688f001886469fb109b0575cad (diff)
replay: account for fqcodel reordering
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device/constants.go')
-rw-r--r--device/constants.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/constants.go b/device/constants.go
index 15cdac7..1a4b8ea 100644
--- a/device/constants.go
+++ b/device/constants.go
@@ -13,7 +13,7 @@ import (
const (
RekeyAfterMessages = (1 << 60)
- RejectAfterMessages = (1 << 64) - (1 << 4) - 1
+ RejectAfterMessages = (1 << 64) - (1 << 13) - 1
RekeyAfterTime = time.Second * 120
RekeyAttemptTime = time.Second * 90
RekeyTimeout = time.Second * 5