mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
remove SSU address if SSU is off
This commit is contained in:
parent
df92a85159
commit
3dd78a2589
3 changed files with 14 additions and 0 deletions
|
@ -253,6 +253,7 @@ namespace util
|
|||
if (!ipv4 && !ipv6)
|
||||
i2p::context.SetStatus (eRouterStatusMesh);
|
||||
}
|
||||
if (!ssu) i2p::context.RemoveSSUAddress (); // TODO: remove later
|
||||
bool ssu2; i2p::config::GetOption("ssu2.enabled", ssu2);
|
||||
if (ssu2)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue