1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

ignore NTCP2 addresses

This commit is contained in:
orignal 2018-07-23 15:44:36 -04:00
parent 998653ea9d
commit 10e4b5b2a3

View File

@ -819,7 +819,7 @@ namespace transport
for (const auto& address: addresses)
{
if (!address) continue;
if (address->transportStyle == i2p::data::RouterInfo::eTransportNTCP)
if (address->transportStyle == i2p::data::RouterInfo::eTransportNTCP && !address->IsNTCP2 ())
{
if (address->host.is_v4())
{