mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-11-22 20:18:19 +00:00
don't disable NTCP2 address if Yggdrasil address is presented
This commit is contained in:
1 parent
1bc3de8df4
commit
3b32da4f5c
2 files changed
+6
-1
No files matched your search
@@ -679,7 +679,8 @@ namespace i2p
|
||||
|
||||
// read NTCP2
|
||||
bool ntcp2; i2p::config::GetOption("ntcp2.enabled", ntcp2);
|
||||
if (ntcp2)
|
||||
bool ygg; i2p::config::GetOption("meshnets.yggdrasil", ygg);
|
||||
if (ntcp2 || ygg)
|
||||
{
|
||||
if (!m_NTCP2Keys) NewNTCP2Keys ();
|
||||
UpdateNTCP2Address (true); // enable NTCP2
|
||||
|
||||
Reference in new issue
Block a user