Skip to content

Commit

Permalink
publish R cap for yggdrasil-only router and U cap for routers through…
Browse files Browse the repository at this point in the history
… proxy
  • Loading branch information
orignal committed Nov 6, 2024
1 parent d99a7d9 commit be24a3e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libi2pd/RouterContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
;
}
Expand Down

0 comments on commit be24a3e

Please sign in to comment.