mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 12:24:19 +00:00
Merge branch 'openssl' of https://github.com/PurpleI2P/i2pd into openssl
This commit is contained in:
commit
5c3d6298b0
@ -652,16 +652,19 @@ namespace http {
|
|||||||
s << "SOCKS Proxy" << "</a> ⇐ ";
|
s << "SOCKS Proxy" << "</a> ⇐ ";
|
||||||
s << i2p::client::context.GetAddressBook ().ToAddress(ident);
|
s << i2p::client::context.GetAddressBook ().ToAddress(ident);
|
||||||
s << "<br>\r\n"<< std::endl;
|
s << "<br>\r\n"<< std::endl;
|
||||||
}
|
}
|
||||||
s << "<br>\r\n<b>Server Tunnels:</b><br>\r\n<br>\r\n";
|
auto& serverTunnels = i2p::client::context.GetServerTunnels ();
|
||||||
for (auto& it: i2p::client::context.GetServerTunnels ())
|
if (!serverTunnels.empty ()) {
|
||||||
{
|
s << "<br>\r\n<b>Server Tunnels:</b><br>\r\n<br>\r\n";
|
||||||
auto& ident = it.second->GetLocalDestination ()->GetIdentHash();
|
for (auto& it: serverTunnels)
|
||||||
s << "<a href=\"/?page=" << HTTP_PAGE_LOCAL_DESTINATION << "&b32=" << ident.ToBase32 () << "\">";
|
{
|
||||||
s << it.second->GetName () << "</a> ⇒ ";
|
auto& ident = it.second->GetLocalDestination ()->GetIdentHash();
|
||||||
s << i2p::client::context.GetAddressBook ().ToAddress(ident);
|
s << "<a href=\"/?page=" << HTTP_PAGE_LOCAL_DESTINATION << "&b32=" << ident.ToBase32 () << "\">";
|
||||||
s << ":" << it.second->GetLocalPort ();
|
s << it.second->GetName () << "</a> ⇒ ";
|
||||||
s << "</a><br>\r\n"<< std::endl;
|
s << i2p::client::context.GetAddressBook ().ToAddress(ident);
|
||||||
|
s << ":" << it.second->GetLocalPort ();
|
||||||
|
s << "</a><br>\r\n"<< std::endl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
auto& clientForwards = i2p::client::context.GetClientForwards ();
|
auto& clientForwards = i2p::client::context.GetClientForwards ();
|
||||||
if (!clientForwards.empty ())
|
if (!clientForwards.empty ())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user