mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
don't use port from SSU2 address
This commit is contained in:
parent
0e6ad548b2
commit
473159be0f
@ -629,7 +629,8 @@ namespace i2p
|
|||||||
addr->published = true;
|
addr->published = true;
|
||||||
addr->caps |= i2p::data::RouterInfo::eSSUIntroducer;
|
addr->caps |= i2p::data::RouterInfo::eSSUIntroducer;
|
||||||
addr->ssu->introducers.clear ();
|
addr->ssu->introducers.clear ();
|
||||||
port = addr->port;
|
if (!addr->IsSSU2 ())
|
||||||
|
port = addr->port;
|
||||||
}
|
}
|
||||||
// publish NTCP2
|
// publish NTCP2
|
||||||
bool ntcp2; i2p::config::GetOption("ntcp2.enabled", ntcp2);
|
bool ntcp2; i2p::config::GetOption("ntcp2.enabled", ntcp2);
|
||||||
|
Loading…
Reference in New Issue
Block a user