mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
show port for non-published SSU addresses
This commit is contained in:
parent
4c91ae0085
commit
98e713166b
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user