mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 12:24:19 +00:00
correct outbound tunnel selection
This commit is contained in:
parent
e5e09c9b51
commit
b03712a30e
2
I2CP.cpp
2
I2CP.cpp
@ -109,7 +109,7 @@ namespace client
|
||||
}
|
||||
else
|
||||
{
|
||||
auto outboundTunnel = GetTunnelPool ()->GetNextOutboundTunnel ();
|
||||
outboundTunnel = GetTunnelPool ()->GetNextOutboundTunnel ();
|
||||
auto leases = remote->GetNonExpiredLeases ();
|
||||
if (!leases.empty ())
|
||||
remoteLease = leases[rand () % leases.size ()];
|
||||
|
Loading…
x
Reference in New Issue
Block a user