mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
pick 3 routers for SSU2 peer test
This commit is contained in:
parent
f7e9e6a1c4
commit
83f43ab166
3 changed files with 25 additions and 12 deletions
|
@ -463,6 +463,7 @@ namespace transport
|
|||
bool isValidEndpoint = !address->host.is_unspecified () && address->port;
|
||||
if (isValidEndpoint)
|
||||
{
|
||||
if (i2p::util::net::IsInReservedRange(address->host)) return false;
|
||||
auto s = FindPendingOutgoingSession (boost::asio::ip::udp::endpoint (address->host, address->port));
|
||||
if (s)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue