mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
correct size for Ack block with ranges
This commit is contained in:
parent
1ccbb8d10b
commit
321ec8ae4d
@ -1487,7 +1487,7 @@ namespace transport
|
||||
}
|
||||
buf[7] = acnt; // acnt
|
||||
htobe16buf (buf + 1, 5 + numRanges*2);
|
||||
return 8;
|
||||
return 8 + numRanges*2;
|
||||
}
|
||||
|
||||
size_t SSU2Session::CreatePaddingBlock (uint8_t * buf, size_t len, size_t minSize)
|
||||
|
Loading…
Reference in New Issue
Block a user