Browse Source

ignore NTCP2 addresses

pull/1221/head
orignal 6 years ago
parent
commit
10e4b5b2a3
  1. 2
      libi2pd/NTCPSession.cpp

2
libi2pd/NTCPSession.cpp

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

Loading…
Cancel
Save