try shooting in the dark for workarround

This commit is contained in:
Jeff Becker 2016-06-27 17:37:31 -04:00
parent afe81dcdbe
commit 34a90f442e
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -517,6 +517,10 @@ namespace garlic
std::shared_ptr<i2p::tunnel::OutboundTunnel> tunnel;
if (from && from->GetTunnelPool ())
tunnel = from->GetTunnelPool ()->GetNextOutboundTunnel ();
if (!tunnel)
{
tunnel = i2p::context::GetExploratoryPool()->GetNextOutboundTunnel();
}
if (tunnel) // we have send it through an outbound tunnel
{
auto msg = CreateI2NPMessage (buf, GetI2NPMessageLength (buf), from);