summaryrefslogtreecommitdiffhomepage
path: root/receive.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-23 02:32:02 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-23 03:58:27 +0200
commit5a2228a5c910ada948677f1dd3fcc59f74e5cb20 (patch)
treebafb31cbcc18221e2299f8fef21d9c2f4471f706 /receive.go
parent0a63188afab1dd49380f916963307f9b2efdcac1 (diff)
Move replay into subpackage
Diffstat (limited to 'receive.go')
-rw-r--r--receive.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/receive.go b/receive.go
index 3d9710c..707b056 100644
--- a/receive.go
+++ b/receive.go
@@ -544,7 +544,7 @@ func (peer *Peer) RoutineSequentialReceiver() {
// check for replay
- if !elem.keypair.replayFilter.ValidateCounter(elem.counter) {
+ if !elem.keypair.replayFilter.ValidateCounter(elem.counter, RejectAfterMessages) {
continue
}