show port for non-published SSU addresses

This commit is contained in:
orignal 2022-04-18 12:27:57 -04:00
parent 4c91ae0085
commit 98e713166b

View File

@ -331,7 +331,12 @@ namespace http {
if (address->published)
s << "<td>" << address->host.to_string() << ":" << address->port << "</td>\r\n";
else
s << "<td>" << tr("supported") << "</td>\r\n";
{
s << "<td>" << tr("supported");
if (address->port)
s << " :" << address->port;
s << "</td>\r\n";
}
s << "</tr>\r\n";
}
s << "</tbody></table>\r\n";