mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01: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 a new issue