diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp
index 2a274f5c..4b6fad8d 100644
--- a/daemon/HTTPServer.cpp
+++ b/daemon/HTTPServer.cpp
@@ -307,42 +307,32 @@ namespace http {
s << ""<< tr("Our external address") << ":" << "
\r\n
NTCP2"; - if (address->IsV6 ()) s << "v6"; - s << " | " << tr("supported") << " | \r\n|||
"; switch (address->transportStyle) { case i2p::data::RouterInfo::eTransportNTCP: - { - s << " | NTCP"; - if (address->IsPublishedNTCP2 ()) s << "2"; - if (address->IsV6 ()) s << "v6"; - s << " | \r\n"; - break; - } + s << "NTCP2"; + break; case i2p::data::RouterInfo::eTransportSSU: - { - s << "SSU"; - if (address->IsV6 ()) s << "v6"; - s << " | \r\n"; - break; - } + s << "SSU"; + break; case i2p::data::RouterInfo::eTransportSSU2: - { - s << "SSU2"; - if (address->IsV6 ()) s << "v6"; - s << " | " << tr("supported") << " | \r\n" << tr("Unknown") << " | \r\n"; + s << tr("Unknown"); } - s << "" << address->host.to_string() << ":" << address->port << " | \r\n\r\n"; + if (address->IsV6 ()) + { + if (address->IsV4 ()) s << "v4"; + s << "v6"; + } + s << "\r\n"; + if (address->published) + s << "" << address->host.to_string() << ":" << address->port << " | \r\n"; + else + s << "" << tr("supported") << " | \r\n"; + s << "\r\n"; } s << "