mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 16:34:13 +00:00
extract correct endpoint from peer test msg 2
This commit is contained in:
parent
fa9c174264
commit
fbb961b43c
@ -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…
x
Reference in New Issue
Block a user