diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp index 924a3b6e..00753cca 100644 --- a/daemon/HTTPServer.cpp +++ b/daemon/HTTPServer.cpp @@ -331,7 +331,12 @@ namespace http { if (address->published) s << "" << address->host.to_string() << ":" << address->port << "\r\n"; else - s << "" << tr("supported") << "\r\n"; + { + s << "" << tr("supported"); + if (address->port) + s << " :" << address->port; + s << "\r\n"; + } s << "\r\n"; } s << "\r\n";