mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
random pick tunnels
This commit is contained in:
@@ -273,7 +273,7 @@ namespace tunnel
|
||||
OutboundTunnel * tunnel = nullptr;
|
||||
for (auto it: m_OutboundTunnels)
|
||||
{
|
||||
if (i >= ind) return it;
|
||||
if (i >= ind) break;
|
||||
if (it->IsEstablished ())
|
||||
{
|
||||
tunnel = it;
|
||||
|
||||
Reference in New Issue
Block a user