mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
delete address if corresponding transport is disabled
This commit is contained in:
@@ -803,7 +803,7 @@ namespace i2p
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
m_RouterInfo.RemoveNTCP2Address (false);
|
m_RouterInfo.RemoveNTCP2Address (true);
|
||||||
// SSU2
|
// SSU2
|
||||||
bool ssu2; i2p::config::GetOption("ssu2.enabled", ssu2);
|
bool ssu2; i2p::config::GetOption("ssu2.enabled", ssu2);
|
||||||
if (ssu2)
|
if (ssu2)
|
||||||
@@ -822,7 +822,7 @@ namespace i2p
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
m_RouterInfo.RemoveSSU2Address (false);
|
m_RouterInfo.RemoveSSU2Address (true);
|
||||||
if (ntcp2 || ssu2)
|
if (ntcp2 || ssu2)
|
||||||
m_RouterInfo.EnableV4 ();
|
m_RouterInfo.EnableV4 ();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user