mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-18 23:36:39 +01:00
fixed typo
This commit is contained in:
parent
21542e8150
commit
5a6b50ae51
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ namespace tunnel
|
||||||
else if (i2p::transport::transports.GetNumPeers () > 100 ||
|
else if (i2p::transport::transports.GetNumPeers () > 100 ||
|
||||||
(inbound && i2p::transport::transports.GetNumPeers () > 25))
|
(inbound && i2p::transport::transports.GetNumPeers () > 25))
|
||||||
{
|
{
|
||||||
auto r = i2p::transport::transports.GetRandomPeer (IsExploratory ());
|
auto r = i2p::transport::transports.GetRandomPeer (!IsExploratory ());
|
||||||
if (r && r->IsECIES () && !r->GetProfile ()->IsBad () &&
|
if (r && r->IsECIES () && !r->GetProfile ()->IsBad () &&
|
||||||
(numHops > 1 || (r->IsV4 () && (!inbound || r->IsReachable ())))) // first inbound must be reachable
|
(numHops > 1 || (r->IsV4 () && (!inbound || r->IsReachable ())))) // first inbound must be reachable
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue