Browse Source

recognize non-published NTCP2 address

pull/1656/head
orignal 3 years ago
parent
commit
4a0dbec4fb
  1. 2
      libi2pd/RouterContext.cpp

2
libi2pd/RouterContext.cpp

@ -547,7 +547,7 @@ namespace i2p
{ {
if (addr->transportStyle == i2p::data::RouterInfo::eTransportSSU) if (addr->transportStyle == i2p::data::RouterInfo::eTransportSSU)
foundSSU = true; foundSSU = true;
else if (addr->IsPublishedNTCP2 ()) else if (addr->transportStyle == i2p::data::RouterInfo::eTransportNTCP)
foundNTCP2 = true; foundNTCP2 = true;
} }
port = addr->port; port = addr->port;

Loading…
Cancel
Save