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
cba18faa87
commit
ab23327da6
7 changed files with 70 additions and 46 deletions
|
@ -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 ())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue