1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 16:34:13 +00:00

fixed off 5 bytes for follow on fragment

This commit is contained in:
orignal 2022-06-29 08:30:11 -04:00
parent f5ed9129cd
commit a68765e021

View File

@ -1927,7 +1927,7 @@ namespace transport
isLast = false;
}
buf[0] = eSSU2BlkFollowOnFragment;
htobe16buf (buf + 1, msgLen); // size
htobe16buf (buf + 1, msgLen + 5); // size
fragmentNum++;
buf[3] = fragmentNum << 1;
if (isLast) buf[3] |= 0x01;