NTCP2 transports through the Yggdrasil

This commit is contained in:
orignal 2021-01-31 17:25:07 -05:00
parent 9e5935aea5
commit aad2d68edb
7 changed files with 72 additions and 2 deletions

View file

@ -521,6 +521,15 @@ namespace i2p
UpdateRouterInfo ();
}
void RouterContext::SetSupportsMesh (bool supportsmesh)
{
if (supportsmesh)
m_RouterInfo.EnableMesh ();
else
m_RouterInfo.DisableMesh ();
UpdateRouterInfo ();
}
void RouterContext::UpdateNTCP2V6Address (const boost::asio::ip::address& host)
{
bool updated = false;