mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
show port for non-published SSU addresses
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user