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