mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 02:44:15 +00: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
|
buf[7] = acnt; // acnt
|
||||||
htobe16buf (buf + 1, 5 + numRanges*2);
|
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)
|
size_t SSU2Session::CreatePaddingBlock (uint8_t * buf, size_t len, size_t minSize)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user