mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
fixed off 5 bytes for follow on fragment
This commit is contained in:
parent
f5ed9129cd
commit
a68765e021
1 changed files with 1 additions and 1 deletions
|
@ -1927,7 +1927,7 @@ namespace transport
|
||||||
isLast = false;
|
isLast = false;
|
||||||
}
|
}
|
||||||
buf[0] = eSSU2BlkFollowOnFragment;
|
buf[0] = eSSU2BlkFollowOnFragment;
|
||||||
htobe16buf (buf + 1, msgLen); // size
|
htobe16buf (buf + 1, msgLen + 5); // size
|
||||||
fragmentNum++;
|
fragmentNum++;
|
||||||
buf[3] = fragmentNum << 1;
|
buf[3] = fragmentNum << 1;
|
||||||
if (isLast) buf[3] |= 0x01;
|
if (isLast) buf[3] |= 0x01;
|
||||||
|
|
Loading…
Add table
Reference in a new issue