mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
manage tunnel pools
This commit is contained in:
parent
ab23327da6
commit
b47d7aceaa
5 changed files with 19 additions and 23 deletions
|
@ -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 ())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue