summaryrefslogtreecommitdiffstats
path: root/replay/replay.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 /replay/replay.go
parentdevice: rework padding calculation and don't shadow paddedSize (diff)
downloadwireguard-go-31faf4c1598c67ba3b2ade4471e0a80ee4b0c968.tar.xz
wireguard-go-31faf4c1598c67ba3b2ade4471e0a80ee4b0c968.zip
replay: account for fqcodel reordering
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--replay/replay.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/replay/replay.go b/replay/replay.go
index 034273c..e5c7391 100644
--- a/replay/replay.go
+++ b/replay/replay.go
@@ -21,7 +21,7 @@ const (
const (
CounterRedundantBitsLog = _WordLogSize + 3
CounterRedundantBits = _WordSize * 8
- CounterBitsTotal = 2048
+ CounterBitsTotal = 8192
CounterWindowSize = uint64(CounterBitsTotal - CounterRedundantBits)
)