Browse Source

copy path challenge to response

pull/1786/head
orignal 2 years ago
parent
commit
f875823357
  1. 1
      libi2pd/SSU2Session.cpp

1
libi2pd/SSU2Session.cpp

@ -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…
Cancel
Save