|
|
|
@ -636,6 +636,8 @@ namespace transport
@@ -636,6 +636,8 @@ namespace transport
|
|
|
|
|
LogPrint (eLogInfo, "Transports: Started peer test IPv4"); |
|
|
|
|
std::set<i2p::data::IdentHash> excluded; |
|
|
|
|
excluded.insert (i2p::context.GetIdentHash ()); // don't pick own router
|
|
|
|
|
if (m_SSUServer) |
|
|
|
|
{ |
|
|
|
|
bool statusChanged = false; |
|
|
|
|
for (int i = 0; i < 5; i++) |
|
|
|
|
{ |
|
|
|
@ -657,7 +659,7 @@ namespace transport
@@ -657,7 +659,7 @@ namespace transport
|
|
|
|
|
} |
|
|
|
|
if (!statusChanged) |
|
|
|
|
LogPrint (eLogWarning, "Transports: Can't find routers for peer test IPv4"); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
// SSU2
|
|
|
|
|
if (m_SSU2Server) |
|
|
|
|
{ |
|
|
|
@ -673,6 +675,8 @@ namespace transport
@@ -673,6 +675,8 @@ namespace transport
|
|
|
|
|
LogPrint (eLogInfo, "Transports: Started peer test IPv6"); |
|
|
|
|
std::set<i2p::data::IdentHash> excluded; |
|
|
|
|
excluded.insert (i2p::context.GetIdentHash ()); // don't pick own router
|
|
|
|
|
if (m_SSUServer) |
|
|
|
|
{ |
|
|
|
|
bool statusChanged = false; |
|
|
|
|
for (int i = 0; i < 5; i++) |
|
|
|
|
{ |
|
|
|
@ -694,6 +698,7 @@ namespace transport
@@ -694,6 +698,7 @@ namespace transport
|
|
|
|
|
} |
|
|
|
|
if (!statusChanged) |
|
|
|
|
LogPrint (eLogWarning, "Transports: Can't find routers for peer test IPv6"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// SSU2
|
|
|
|
|
if (m_SSU2Server) |
|
|
|
|