diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp index cda3f2ec..90bd772f 100644 --- a/daemon/HTTPServer.cpp +++ b/daemon/HTTPServer.cpp @@ -262,7 +262,9 @@ namespace http { { if (address->IsNTCP2 () && !address->IsPublishedNTCP2 ()) { - s << "NTCP2   supported
\r\n"; + s << "NTCP2"; + if (address->host.is_v6 ()) s << "v6"; + s << "   supported
\r\n"; continue; } switch (address->transportStyle) @@ -271,13 +273,13 @@ namespace http { { s << "NTCP"; if (address->IsPublishedNTCP2 ()) s << "2"; - if (address->host.is_v6 ()) s << "6"; + if (address->host.is_v6 ()) s << "v6"; s << "  "; break; } case i2p::data::RouterInfo::eTransportSSU: if (address->host.is_v6 ()) - s << "SSU6     "; + s << "SSUv6     "; else s << "SSU     "; break; @@ -583,7 +585,7 @@ namespace http { } if (!tmp_s6.str ().empty ()) { - s << "
\r\n\r\n

"; + s << "

\r\n\r\n

"; s << tmp_s6.str () << "

\r\n
\r\n"; } } @@ -628,7 +630,7 @@ namespace http { auto sessions6 = ssuServer->GetSessionsV6 (); if (!sessions6.empty ()) { - s << "
\r\n\r\n

"; + s << "

\r\n\r\n

"; for (const auto& it: sessions6) { auto endpoint = it.second->GetRemoteEndpoint ();