manage tunnel pools
This commit is contained in:
@@ -145,19 +145,10 @@ namespace util
|
||||
for (auto it: i2p::tunnel::tunnels.GetInboundTunnels ())
|
||||
{
|
||||
it.second->GetTunnelConfig ()->Print (s);
|
||||
if (it.second->GetTunnelPool ())
|
||||
s << " " << "Pool";
|
||||
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 ())
|
||||
|
Reference in New Issue
Block a user