mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 13:11:40 +00:00
correct size for Ack block with ranges
This commit is contained in:
1 parent
1ccbb8d10b
commit
321ec8ae4d
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user