mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
check for NTCP for yggdrasil address
This commit is contained in:
parent
ace80c29e7
commit
05c7aacfa5
@ -990,7 +990,7 @@ namespace data
|
|||||||
return GetAddress (
|
return GetAddress (
|
||||||
[](std::shared_ptr<const RouterInfo::Address> address)->bool
|
[](std::shared_ptr<const RouterInfo::Address> address)->bool
|
||||||
{
|
{
|
||||||
return i2p::util::net::IsYggdrasilAddress (address->host);
|
return address->IsPublishedNTCP2 () && i2p::util::net::IsYggdrasilAddress (address->host);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user