From 50419f200d7ec68afbf30ee86ffa2987e235f39c Mon Sep 17 00:00:00 2001 From: orignal Date: Fri, 1 Jul 2022 17:35:38 -0400 Subject: [PATCH] fixed 1 packet off for out of sequence clean up --- libi2pd/SSU2Session.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libi2pd/SSU2Session.cpp b/libi2pd/SSU2Session.cpp index 753da03a..31e7f189 100644 --- a/libi2pd/SSU2Session.cpp +++ b/libi2pd/SSU2Session.cpp @@ -2132,11 +2132,12 @@ namespace transport if (packet > m_ReceivePacketNum + 1) { // like we've just received all packets before first + packet--; m_ReceivePacketNum = packet - 1; UpdateReceivePacketNum (packet); } else - LogPrint (eLogError, "SSU2: Out of sequence packet ", packet, " is less than last received", m_ReceivePacketNum); + LogPrint (eLogError, "SSU2: Out of sequence packet ", packet, " is less than last received ", m_ReceivePacketNum); } for (auto it = m_RelaySessions.begin (); it != m_RelaySessions.end ();)