mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 01:46:36 +02:00
extract correct endpoint from peer test msg 2
This commit is contained in:
parent
fa9c174264
commit
fbb961b43c
1 changed files with 1 additions and 1 deletions
|
@ -1596,7 +1596,7 @@ namespace transport
|
|||
{
|
||||
boost::asio::ip::udp::endpoint ep;
|
||||
std::shared_ptr<const i2p::data::RouterInfo::Address> addr;
|
||||
if (ExtractEndpoint (buf + offset + 9, len - offset - 9, ep))
|
||||
if (ExtractEndpoint (buf + offset + 10, asz, ep))
|
||||
addr = r->GetSSU2Address (ep.address ().is_v4 ());
|
||||
if (addr && m_Server.IsSupported (ep.address ()))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue