mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
don't run peer test for SSU2 through proxy
This commit is contained in:
@@ -665,7 +665,7 @@ namespace transport
|
||||
LogPrint (eLogWarning, "Transports: Can't find routers for peer test IPv4");
|
||||
}
|
||||
// SSU2
|
||||
if (m_SSU2Server)
|
||||
if (m_SSU2Server && !m_SSU2Server->UsesProxy ())
|
||||
{
|
||||
excluded.clear ();
|
||||
excluded.insert (i2p::context.GetIdentHash ());
|
||||
@@ -714,7 +714,7 @@ namespace transport
|
||||
}
|
||||
|
||||
// SSU2
|
||||
if (m_SSU2Server)
|
||||
if (m_SSU2Server && !m_SSU2Server->UsesProxy ())
|
||||
{
|
||||
excluded.clear ();
|
||||
excluded.insert (i2p::context.GetIdentHash ());
|
||||
|
||||
Reference in New Issue
Block a user