diff --git a/HTTPServer.cpp b/HTTPServer.cpp
index d71deb3c..ec655709 100644
--- a/HTTPServer.cpp
+++ b/HTTPServer.cpp
@@ -118,6 +118,20 @@ namespace util
void HTTPConnection::FillContent (std::stringstream& s)
{
+ s << "Our external address:" << "
" << "
";
+ for (auto& address : i2p::context.GetRouterInfo().GetAddresses())
+ {
+ switch (address.transportStyle) {
+ case i2p::data::RouterInfo::eTransportNTCP:
+ s << "NTCP ";
+ break;
+ case i2p::data::RouterInfo::eTransportSSU:
+ s << "SSU ";
+ break;
+ }
+ s << address.host.to_string() << ":" << address.port << "
";
+ }
+
s << "
Tunnels
"; for (auto it: i2p::tunnel::tunnels.GetOutboundTunnels ()) { diff --git a/Win32/i2pd.vcxproj b/Win32/i2pd.vcxproj index c6f95ed7..f32f7cb4 100644 --- a/Win32/i2pd.vcxproj +++ b/Win32/i2pd.vcxproj @@ -32,6 +32,7 @@