mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
recognize non-published NTCP2 address
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user