Skip to content

Commit

Permalink
check if first packet
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Sep 10, 2024
1 parent 699e17b commit 50d297f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libi2pd/Streaming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ namespace stream
ProcessAck (packet);

int32_t receivedSeqn = packet->GetSeqn ();
if (!receivedSeqn)
if (!receivedSeqn && m_LastReceivedSequenceNumber >= 0)
{
uint16_t flags = packet->GetFlags ();
if (flags)
Expand Down

0 comments on commit 50d297f

Please sign in to comment.