mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't futher process plain Ack
This commit is contained in:
parent
f811b19cf1
commit
15b4dfbecb
2 changed files with 10 additions and 0 deletions
|
@ -55,6 +55,8 @@ namespace stream
|
|||
uint16_t GetOptionSize () const { return be16toh (*(uint16_t *)GetOption ()); };
|
||||
const uint8_t * GetOptionData () const { return GetOption () + 2; };
|
||||
const uint8_t * GetPayload () const { return GetOptionData () + GetOptionSize (); };
|
||||
|
||||
bool IsSYN () const { return GetFlags () & PACKET_FLAG_SYNCHRONIZE; };
|
||||
};
|
||||
|
||||
struct PacketCmp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue