mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
copy path challenge to response
This commit is contained in:
parent
75611866eb
commit
f875823357
@ -2592,6 +2592,7 @@ namespace transport
|
|||||||
uint8_t payload[SSU2_MAX_PACKET_SIZE];
|
uint8_t payload[SSU2_MAX_PACKET_SIZE];
|
||||||
payload[0] = eSSU2BlkPathResponse;
|
payload[0] = eSSU2BlkPathResponse;
|
||||||
htobe16buf (payload + 1, len);
|
htobe16buf (payload + 1, len);
|
||||||
|
memcpy (payload + 3, data, len);
|
||||||
SendData (payload, len + 3);
|
SendData (payload, len + 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user