recreate tunnel after 9.5 minutes

This commit is contained in:
orignal 2015-04-17 11:36:42 -04:00
parent fcb56db224
commit 3987d5e5a0
3 changed files with 29 additions and 11 deletions

View file

@ -140,7 +140,10 @@ namespace tunnel
std::unique_lock<std::mutex> l(m_OutboundTunnelsMutex);
for (auto it: m_OutboundTunnels)
if (it->IsEstablished () && old->GetEndpointRouter ()->GetIdentHash () == it->GetEndpointRouter ()->GetIdentHash ())
{
tunnel = it;
break;
}
}
if (!tunnel)