From 53de476e09c5dc569795c03a2342b8f905ac1835 Mon Sep 17 00:00:00 2001 From: dr|z3d Date: Tue, 17 Aug 2021 12:29:30 +0000 Subject: [PATCH] Console: rename Exploratory & Service tunnels to Client Tunnels --- daemon/HTTPServer.cpp | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp index 7b940a3e..d477eaa9 100644 --- a/daemon/HTTPServer.cpp +++ b/daemon/HTTPServer.cpp @@ -518,14 +518,14 @@ namespace http { << "\r\n"; if (i2p::context.IsFloodfill ()) s << "" << tr("LeaseSets") << "\r\n"; - s << "" << tr("Destinations") << "\r\n" -// "" << tr("Services") << "\r\n" -// "" << tr("Transit") << "\r\n" - "" << tr ("Transports") << "\r\n" - "" << tr("Tunnels") << "\r\n"; + s << "" << tr("Destinations") << "\r\n" +// "" << tr("Services") << "\r\n" +// "" << tr("Transit") << "\r\n" + "" << tr ("Transports") << "\r\n" + "" << tr("Tunnels") << "\r\n"; if (sam && sam->GetSessions ().size ()) { s << "" << tr("SAM Sessions") << "\r\n"; @@ -1046,14 +1046,15 @@ namespace http { void ShowTunnels (std::stringstream& s) { - s << "" << tr("Tunnels") << "\r\n"; + s << "" << tr("Client Tunnels") << "\r\n"; s << "" << tr("Queue size") << ": " << i2p::tunnel::tunnels.GetQueueSize () << "\r\n"; auto ExplPool = i2p::tunnel::tunnels.GetExploratoryPool (); s << "\r\n"; s << "
\r\n\r\n" - << "\r\n"; // TODO: separate client & exploratory tunnels into sections + << "\r\n"; // TODO: separate client & exploratory tunnels into sections and flag individual services? s << "
\r\n
\r\n"; for (auto & it : i2p::tunnel::tunnels.GetInboundTunnels ()) { s << "
" @@ -1108,9 +1109,9 @@ namespace http { s << "" << tr("Transit") << "------" << "View\r\n"; } - s << "" << tr("Exploratory") << "------" - << "View\r\n" - << "" << tr("Exploratory + Service") << "------" +// s << "" << tr("Exploratory") << "------" +// << "View\r\n" + s << "" << tr("Client") << "------" << "View\r\n" // << "" << tr("Service") << "count in/outView\r\n" << "";