mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 04:46:38 +01:00
fixed 1 packet off for out of sequence clean up
This commit is contained in:
parent
455390f121
commit
50419f200d
1 changed files with 2 additions and 1 deletions
|
@ -2132,6 +2132,7 @@ namespace transport
|
||||||
if (packet > m_ReceivePacketNum + 1)
|
if (packet > m_ReceivePacketNum + 1)
|
||||||
{
|
{
|
||||||
// like we've just received all packets before first
|
// like we've just received all packets before first
|
||||||
|
packet--;
|
||||||
m_ReceivePacketNum = packet - 1;
|
m_ReceivePacketNum = packet - 1;
|
||||||
UpdateReceivePacketNum (packet);
|
UpdateReceivePacketNum (packet);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue