publish R cap for yggdrasil-only router and U cap for routers through proxy

This commit is contained in:
orignal 2024-11-05 19:24:54 -05:00
parent d99a7d9b20
commit be24a3e336

View File

@ -323,6 +323,12 @@ namespace i2p
case eRouterStatusFirewalled:
SetUnreachable (true, false); // ipv4
break;
case eRouterStatusMesh:
m_RouterInfo.UpdateCaps (m_RouterInfo.GetCaps () | i2p::data::RouterInfo::eReachable);
break;
case eRouterStatusProxy:
m_RouterInfo.UpdateCaps (m_RouterInfo.GetCaps () | i2p::data::RouterInfo::eUnreachable);
break;
default:
;
}