mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
enable SSU2 and disable SSU by default
This commit is contained in:
parent
8eade86624
commit
638c376e5b
2 changed files with 5 additions and 3 deletions
|
@ -1074,6 +1074,8 @@ namespace transport
|
|||
bool ssu; i2p::config::GetOption("ssu", ssu);
|
||||
if (!ssu) i2p::context.RemoveSSUAddress (); // TODO: remove later
|
||||
bool ssu2; i2p::config::GetOption("ssu2.enabled", ssu2);
|
||||
if (ssu2 && i2p::config::IsDefault ("ssu2.enabled") && !ipv4 && !ipv6)
|
||||
ssu2 = false; // don't enable ssu2 for yggdrasil only router
|
||||
if (ssu2)
|
||||
{
|
||||
uint16_t ssu2port; i2p::config::GetOption("ssu2.port", ssu2port);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue