make SSU2 server eligible for peer test

This commit is contained in:
orignal 2022-07-05 12:55:11 -04:00
parent a5a35b1fa6
commit a1e414c3b7

View File

@ -630,7 +630,7 @@ namespace transport
void Transports::PeerTest (bool ipv4, bool ipv6)
{
if (RoutesRestricted() || !m_SSUServer) return;
if (RoutesRestricted() || (!m_SSUServer && !m_SSU2Server)) return;
if (ipv4 && i2p::context.SupportsV4 ())
{
LogPrint (eLogInfo, "Transports: Started peer test IPv4");