summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-11 16:02:39 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-11 16:02:39 +0000
commit5786044f530cc37198b38a719843cac730519b8c (patch)
tree533771300c5b60cff0f82f1cac7ef1b8b4a775c9 /anytun.cpp
parentactivated keyderivation again (diff)
replay protection works again
Diffstat (limited to 'anytun.cpp')
-rw-r--r--anytun.cpp4
1 files changed, 2 insertions, 2 deletions
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;