From 5786044f530cc37198b38a719843cac730519b8c Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Tue, 11 Dec 2007 16:02:39 +0000 Subject: replay protection works again --- anytun.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'anytun.cpp') diff --git a/anytun.cpp b/anytun.cpp index e1d065a..3ba5de9 100644 --- a/anytun.cpp +++ b/anytun.cpp @@ -281,8 +281,8 @@ void* receiver(void* p) } //Replay Protection - //if (!checkPacketSeqNr(pack,conn)) - // continue; + if (!checkPacketSeqNr(pack,conn)) + continue; if (!decryptPacket(pack, c, conn)) continue; -- cgit v1.2.3