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

recognize non-published NTCP2 address

This commit is contained in:
orignal 2021-04-25 16:42:09 -04:00
parent 90dee900f0
commit 4a0dbec4fb

View File

@ -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;