Browse Source

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

pull/2094/merge
orignal 3 weeks ago
parent
commit
be24a3e336
  1. 6
      libi2pd/RouterContext.cpp

6
libi2pd/RouterContext.cpp

@ -323,6 +323,12 @@ namespace i2p @@ -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:
;
}

Loading…
Cancel
Save