";
}
@@ -236,9 +236,9 @@ namespace http {
void ShowJumpServices (std::stringstream& s, const std::string& address)
{
- s << "
\r\n";
s << "
Jump services for " << address << "\r\n
\r\n";
@@ -254,7 +254,7 @@ namespace http {
for (auto& it: i2p::client::context.GetDestinations ())
{
auto ident = it.second->GetIdentHash ();;
- s << "";
+ s << "";
s << i2p::client::context.GetAddressBook ().ToAddress(ident) << "
\r\n" << std::endl;
}
}
@@ -358,21 +358,21 @@ namespace http {
{
/* commands */
s << "Router Commands
\r\n";
- s << " Run peer test
\r\n";
- //s << " Reload config
\r\n";
+ s << " Run peer test
\r\n";
+ //s << " Reload config
\r\n";
if (i2p::context.AcceptsTunnels ())
- s << " Stop accepting tunnels
\r\n";
+ s << " Stop accepting tunnels
\r\n";
else
- s << " Start accepting tunnels
\r\n";
+ s << " Start accepting tunnels
\r\n";
#ifndef WIN32
if (Daemon.gracefullShutdownInterval) {
- s << " Cancel gracefull shutdown (";
+ s << " Cancel gracefull shutdown (";
s << Daemon.gracefullShutdownInterval;
s << " seconds remains)
\r\n";
} else {
- s << " Start gracefull shutdown
\r\n";
+ s << " Start gracefull shutdown
\r\n";
}
- s << " Force shutdown
\r\n";
+ s << " Force shutdown
\r\n";
#endif
}
@@ -450,7 +450,7 @@ namespace http {
s << "SAM Sessions:
\r\n
\r\n";
for (auto& it: sam->GetSessions ())
{
- s << "";
+ s << "";
s << it.first << "
\r\n" << std::endl;
}
}
@@ -469,7 +469,7 @@ namespace http {
return;
}
auto& ident = session->localDestination->GetIdentHash();
- s << "";
+ s << "";
s << i2p::client::context.GetAddressBook ().ToAddress(ident) << "
\r\n";
s << "
\r\n";
s << "Streams:
\r\n";
@@ -493,7 +493,7 @@ namespace http {
for (auto& it: i2p::client::context.GetClientTunnels ())
{
auto& ident = it.second->GetLocalDestination ()->GetIdentHash();
- s << "";
+ s << "";
s << it.second->GetName () << " ⇐ ";
s << i2p::client::context.GetAddressBook ().ToAddress(ident);
s << "
\r\n"<< std::endl;
@@ -502,7 +502,7 @@ namespace http {
for (auto& it: i2p::client::context.GetServerTunnels ())
{
auto& ident = it.second->GetLocalDestination ()->GetIdentHash();
- s << "";
+ s << "";
s << it.second->GetName () << " ⇒ ";
s << i2p::client::context.GetAddressBook ().ToAddress(ident);
s << ":" << it.second->GetLocalPort ();