mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
delete address if corresponding transport is disabled
This commit is contained in:
parent
e91d0bbec8
commit
ad5540c9f3
@ -803,7 +803,7 @@ namespace i2p
|
||||
}
|
||||
}
|
||||
else
|
||||
m_RouterInfo.RemoveNTCP2Address (false);
|
||||
m_RouterInfo.RemoveNTCP2Address (true);
|
||||
// SSU2
|
||||
bool ssu2; i2p::config::GetOption("ssu2.enabled", ssu2);
|
||||
if (ssu2)
|
||||
@ -822,7 +822,7 @@ namespace i2p
|
||||
}
|
||||
}
|
||||
else
|
||||
m_RouterInfo.RemoveSSU2Address (false);
|
||||
m_RouterInfo.RemoveSSU2Address (true);
|
||||
if (ntcp2 || ssu2)
|
||||
m_RouterInfo.EnableV4 ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user