mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
recognize non-published NTCP2 address
This commit is contained in:
parent
90dee900f0
commit
4a0dbec4fb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue