Browse Source

recognize non-published NTCP2 address

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

2
libi2pd/RouterContext.cpp

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

Loading…
Cancel
Save