manage tunnel pools

This commit is contained in:
orignal 2014-03-14 20:24:12 -04:00
parent cba18faa87
commit ab23327da6
7 changed files with 70 additions and 46 deletions

View file

@ -148,6 +148,17 @@ namespace util
s << " " << (int)it.second->GetNumReceivedBytes () << "<BR>";
}
s << "<P>Tunnel pools</P>";
for (auto it: i2p::tunnel::tunnels.GetTunnelPools ())
{
for (auto it1: it->GetInboundTunnels ())
{
it1->GetTunnelConfig ()->Print (s);
s << " " << (int)it1->GetNumReceivedBytes () << "<BR>";
}
s << "<BR>";
}
s << "<P>Transit tunnels</P>";
for (auto it: i2p::tunnel::tunnels.GetTransitTunnels ())
{