mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 02:44:15 +00: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)
|
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…
x
Reference in New Issue
Block a user