|
|
@ -730,8 +730,8 @@ namespace transport |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (s.second->IsEstablished () && (s.second->GetRelayTag () && !s.second->IsOutgoing ()) && |
|
|
|
if (s.second->IsEstablished () && (s.second->GetRelayTag () && !s.second->IsOutgoing ()) && |
|
|
|
!excluded.count (s.second->GetRemoteIdentity ()->GetIdentHash ()) && |
|
|
|
!excluded.count (s.second->GetRemoteIdentity ()->GetIdentHash ()) && |
|
|
|
((v4 && (s.second->GetRemoteTransports () | i2p::data::RouterInfo::eSSU2V4)) || |
|
|
|
((v4 && (s.second->GetRemoteTransports () & i2p::data::RouterInfo::eSSU2V4)) || |
|
|
|
(!v4 && (s.second->GetRemoteTransports () | i2p::data::RouterInfo::eSSU2V6)))) |
|
|
|
(!v4 && (s.second->GetRemoteTransports () & i2p::data::RouterInfo::eSSU2V6)))) |
|
|
|
ret.push_back (s.second); |
|
|
|
ret.push_back (s.second); |
|
|
|
} |
|
|
|
} |
|
|
|
if ((int)ret.size () > maxNumIntroducers) |
|
|
|
if ((int)ret.size () > maxNumIntroducers) |
|
|
|