Browse Source

check for NTCP for yggdrasil address

pull/1634/head
orignal 4 years ago
parent
commit
05c7aacfa5
  1. 2
      libi2pd/RouterInfo.cpp

2
libi2pd/RouterInfo.cpp

@ -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…
Cancel
Save