Browse Source

show port for non-published SSU addresses

pull/1752/head
orignal 3 years ago
parent
commit
98e713166b
  1. 7
      daemon/HTTPServer.cpp

7
daemon/HTTPServer.cpp

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

Loading…
Cancel
Save