mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 16:34:13 +00:00
3 bytes off for token in RelayResponse
This commit is contained in:
parent
71766ecd16
commit
ff5fa1d137
@ -2313,7 +2313,7 @@ namespace transport
|
|||||||
size_t payloadSize = 12 + csz + i2p::context.GetIdentity ()->GetSignatureLen ();
|
size_t payloadSize = 12 + csz + i2p::context.GetIdentity ()->GetSignatureLen ();
|
||||||
if (!code)
|
if (!code)
|
||||||
{
|
{
|
||||||
memcpy (buf + payloadSize, &token, 8);
|
memcpy (buf + 3 + payloadSize, &token, 8);
|
||||||
payloadSize += 8;
|
payloadSize += 8;
|
||||||
}
|
}
|
||||||
htobe16buf (buf + 1, payloadSize); // size
|
htobe16buf (buf + 1, payloadSize); // size
|
||||||
|
Loading…
x
Reference in New Issue
Block a user