mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03: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 ();
|
||||
if (!code)
|
||||
{
|
||||
memcpy (buf + payloadSize, &token, 8);
|
||||
memcpy (buf + 3 + payloadSize, &token, 8);
|
||||
payloadSize += 8;
|
||||
}
|
||||
htobe16buf (buf + 1, payloadSize); // size
|
||||
|
Loading…
Reference in New Issue
Block a user