diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp
index fbc42488..48af71f7 100644
--- a/daemon/HTTPServer.cpp
+++ b/daemon/HTTPServer.cpp
@@ -669,29 +669,7 @@ namespace http {
s << std::fixed << std::setprecision(0);
s << "";
}
-
s << "\r\n";
-
-/*
- if (i2p::context.AcceptsTunnels () && i2p::tunnel::tunnels.CountTransitTunnels()) {
- s << "
" << tr("Transit") << " | ";
- s << std::fixed << std::setprecision(0);
- if (i2p::transport::transports.GetTotalTransitTransmittedBytes () > 1024*1024*1024)
- s << std::fixed << std::setprecision(2);
- else if (i2p::transport::transports.GetTotalTransitTransmittedBytes () > 1024*1024)
- s << std::fixed << std::setprecision(1);
- ShowTraffic (s, i2p::transport::transports.GetTotalTransitTransmittedBytes ());
- s << std::fixed << std::setprecision(0);
- if (i2p::transport::transports.GetTransitBandwidth () > 1024*1024*1024 ||
- i2p::transport::transports.GetTransitBandwidth () < 1024)
- s << std::fixed << std::setprecision(2);
- else if (i2p::transport::transports.GetTransitBandwidth () > 1024*1024)
- s << std::fixed << std::setprecision(1);
- s << " (" << (double) i2p::transport::transports.GetTransitBandwidth () / 1024;
- s << " " << tr("K/s") << ") |
\r\n";
- }
-*/
-
s << "" << tr("Build Success") << " | ";
s << i2p::tunnel::tunnels.GetTunnelCreationSuccessRate () << "% |
\r\n";
s << "" << tr("Routers") << " | " << i2p::data::netdb.GetNumRouters () << " |
\r\n";
@@ -1382,7 +1360,9 @@ namespace http {
if(i2p::tunnel::tunnels.CountTransitTunnels())
{
int count = i2p::tunnel::tunnels.GetTransitTunnels().size();
- s << "" << tr("Transit Tunnels") << " |
";
+ s << "" << tr("Transit Tunnels");
+ s << " [" << count << "]"
+ << " |
";
s << "\r\n";
s << " 7)
|