Browse Source

correct outbound tunnel selection

pull/646/head
orignal 8 years ago
parent
commit
b03712a30e
  1. 2
      I2CP.cpp

2
I2CP.cpp

@ -109,7 +109,7 @@ namespace client
} }
else else
{ {
auto outboundTunnel = GetTunnelPool ()->GetNextOutboundTunnel (); outboundTunnel = GetTunnelPool ()->GetNextOutboundTunnel ();
auto leases = remote->GetNonExpiredLeases (); auto leases = remote->GetNonExpiredLeases ();
if (!leases.empty ()) if (!leases.empty ())
remoteLease = leases[rand () % leases.size ()]; remoteLease = leases[rand () % leases.size ()];

Loading…
Cancel
Save