diff --git a/libi2pd/SSU2Session.cpp b/libi2pd/SSU2Session.cpp index 2b9dfb6b..eb80c957 100644 --- a/libi2pd/SSU2Session.cpp +++ b/libi2pd/SSU2Session.cpp @@ -2180,7 +2180,8 @@ namespace transport std::shared_ptr addr; if (ExtractEndpoint (buf + offset + 10, asz, ep)) addr = r->GetSSU2Address (ep.address ().is_v4 ()); - if (addr && m_Server.IsSupported (ep.address ()) && addr->IsPeerTesting ()) + if (addr && m_Server.IsSupported (ep.address ()) && + i2p::context.GetRouterInfo ().IsSSU2PeerTesting (ep.address ().is_v4 ())) { // send msg 5 to Alice auto session = std::make_shared (m_Server, r, addr);