mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 02:44:15 +00:00
add SSU2 introducer if SSU2 only
This commit is contained in:
parent
a0419e4f34
commit
f9106b77bb
@ -466,7 +466,7 @@ namespace i2p
|
|||||||
|
|
||||||
bool RouterContext::AddSSU2Introducer (const i2p::data::RouterInfo::Introducer& introducer, bool v4)
|
bool RouterContext::AddSSU2Introducer (const i2p::data::RouterInfo::Introducer& introducer, bool v4)
|
||||||
{
|
{
|
||||||
if (!IsSSU2Only ()) return false
|
if (!IsSSU2Only ()) return false;
|
||||||
bool ret = m_RouterInfo.AddSSU2Introducer (introducer, v4);
|
bool ret = m_RouterInfo.AddSSU2Introducer (introducer, v4);
|
||||||
if (ret)
|
if (ret)
|
||||||
UpdateRouterInfo ();
|
UpdateRouterInfo ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user