improved exploratory

This commit is contained in:
orignal 2014-08-28 19:41:02 -04:00
parent a4526db9bf
commit 2640dff22a
3 changed files with 4 additions and 2 deletions

View file

@ -273,12 +273,12 @@ namespace tunnel
OutboundTunnel * tunnel = nullptr;
for (auto it: m_OutboundTunnels)
{
if (i >= ind) break;
if (it->IsEstablished ())
{
tunnel = it;
i++;
}
if (i >= ind) break;
}
return tunnel;
}