copy path challenge to response

This commit is contained in:
orignal 2022-08-15 15:32:55 -04:00
parent 75611866eb
commit f875823357

View File

@ -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);
} }