mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
correct outbound tunnel selection
This commit is contained in:
parent
e5e09c9b51
commit
b03712a30e
1 changed files with 1 additions and 1 deletions
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…
Add table
Reference in a new issue