mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-12 20:36:38 +01:00
fixed bug with FIN message
This commit is contained in:
parent
554f602ad0
commit
57a94946d5
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ namespace stream
|
|||
packet[size] = 0;
|
||||
size++; // NACK count
|
||||
size++; // resend delay
|
||||
*(uint16_t *)(packet + size) = PACKET_FLAG_CLOSE | PACKET_FLAG_SIGNATURE_INCLUDED;
|
||||
*(uint16_t *)(packet + size) = htobe16 (PACKET_FLAG_CLOSE | PACKET_FLAG_SIGNATURE_INCLUDED);
|
||||
size += 2; // flags
|
||||
*(uint16_t *)(packet + size) = htobe16 (40); // 40 bytes signature
|
||||
size += 2; // options size
|
||||
|
|
Loading…
Add table
Reference in a new issue