mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
don't disable NTCP2 address if Yggdrasil address is presented
This commit is contained in:
parent
1bc3de8df4
commit
3b32da4f5c
2 changed files with 6 additions and 1 deletions
|
@ -202,7 +202,11 @@ namespace util
|
|||
i2p::context.PublishNTCP2Address (port, false); // unpublish
|
||||
}
|
||||
if (ygg)
|
||||
{
|
||||
if (!ntcp2)
|
||||
i2p::context.PublishNTCP2Address (port, true);
|
||||
i2p::context.UpdateNTCP2V6Address (yggaddr);
|
||||
}
|
||||
|
||||
bool transit; i2p::config::GetOption("notransit", transit);
|
||||
i2p::context.SetAcceptsTunnels (!transit);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue