handle first packet from Bob

This commit is contained in:
orignal 2022-07-06 21:28:53 -04:00
parent 83f43ab166
commit fa9c174264

View file

@ -1089,7 +1089,7 @@ namespace transport
} }
m_LastActivityTimestamp = i2p::util::GetSecondsSinceEpoch (); m_LastActivityTimestamp = i2p::util::GetSecondsSinceEpoch ();
m_NumReceivedBytes += len; m_NumReceivedBytes += len;
if (UpdateReceivePacketNum (packetNum)) if (!packetNum || UpdateReceivePacketNum (packetNum))
HandlePayload (payload, payloadSize); HandlePayload (payload, payloadSize);
} }