\r\n";
}
if(includeHiddenContent) {
s << "Router Ident: " << i2p::context.GetRouterInfo().GetIdentHashBase64() << "
\r\n"; @@ -391,7 +391,7 @@ namespace http { if (dest->IsEncryptedLeaseSet ()) { i2p::data::BlindedPublicKey blinded (dest->GetIdentity (), dest->IsPerClientAuth ()); - s << "
\r\n"; @@ -391,7 +391,7 @@ namespace http { if (dest->IsEncryptedLeaseSet ()) { i2p::data::BlindedPublicKey blinded (dest->GetIdentity (), dest->IsPerClientAuth ()); - s << "
\r\n\r\n
\r\n";
+ s << "
\r\n\r\n
\r\n";
}
@@ -399,7 +399,7 @@ namespace http {
if(dest->GetNumRemoteLeaseSets())
{
s << "\r\n";
s << blinded.ToB33 () << ".b32.i2p
\r\n"; s << "
\r\n\r\n"; s << "
\r\n\r\n
\r\n
\r\n"; @@ -433,8 +433,8 @@ namespace http { tmp_s << "" << i2p::client::context.GetAddressBook ().ToAddress(it.first) << " " << it.second->GetNumOutgoingTags () << " \r\n";
out_tags += it.second->GetNumOutgoingTags ();
}
- s << "
\r\n"; s << "
\r\n"; @@ -449,8 +449,8 @@ namespace http { tmp_s << "" << i2p::client::context.GetAddressBook ().ToAddress(it.second->GetDestination ()) << " " << it.second->GetState () << " \r\n";
ecies_sessions++;
}
- s << "
\r\n"; s << "
\r\n"; @@ -549,7 +549,7 @@ namespace http { if (!ls->IsValid()) s << "
Address | Type | EncType | "; + << "\r\n\r\n
---|
Address | Type | EncType | "; for(auto& it: dest->GetLeaseSets ()) s << "
---|---|---|
" << it.first.ToBase32 () << " | " << (int)it.second->GetStoreType () << " | " << (int)it.second->GetEncryptionType () <<" |
\r\n"; @@ -433,8 +433,8 @@ namespace http { tmp_s << "
\r\n\r\n"
- << "
\r\n";
+ s << "\r\n\r\n
\r\n
\r\nDestination | Amount | \r\n\r\n" << tmp_s.str () << "
---|
\r\n\r\n"
+ << "
\r\n";
} else
s << "Outgoing: 0\r\n\r\n
\r\n
\r\nDestination | Amount | \r\n\r\n" << tmp_s.str () << "
---|
\r\n"; s << "
\r\n"; @@ -449,8 +449,8 @@ namespace http { tmp_s << "
\r\n\r\n"
- << "
\r\n";
+ s << "\r\n\r\n
\r\n
\r\nDestination | Status | \r\n\r\n" << tmp_s.str () << "
---|
\r\n\r\n"
+ << "
\r\n";
} else
s << "Tags sessions: 0\r\n\r\n
\r\n
\r\nDestination | Status | \r\n\r\n" << tmp_s.str () << "
---|
\r\n"; s << "
\r\n"; @@ -549,7 +549,7 @@ namespace http { if (!ls->IsValid()) s << "
!! Invalid !!
\r\n";
s << "\r\n";
- s << "\r\n
\r\n";
+ s << "\r\n
\r\n";
s << "Store type: " << (int)storeType << "
\r\n"; s << "Expires: " << ConvertTime(ls->GetExpirationTime()) << "
\r\n"; if (storeType == i2p::data::NETDB_STORE_TYPE_LEASESET || storeType == i2p::data::NETDB_STORE_TYPE_STANDARD_LEASESET2) @@ -700,13 +700,13 @@ namespace http { if (!tmp_s.str ().empty ()) { s << "
\r\n"; s << "Expires: " << ConvertTime(ls->GetExpirationTime()) << "
\r\n"; if (storeType == i2p::data::NETDB_STORE_TYPE_LEASESET || storeType == i2p::data::NETDB_STORE_TYPE_STANDARD_LEASESET2) @@ -700,13 +700,13 @@ namespace http { if (!tmp_s.str ().empty ()) { s << "
\r\n\r\n
"
+ << " ( " << cnt << " )\r\n\r\n
\r\n";
}
if (!tmp_s6.str ().empty ())
{
s << ""
<< tmp_s.str () << "
\r\n\r\n\r\n
"
+ << "v6 ( " << cnt6 << " )\r\n\r\n
\r\n";
}
}
@@ -734,7 +734,7 @@ namespace http {
auto sessions = ssuServer->GetSessions ();
if (!sessions.empty ())
{
- s << ""
<< tmp_s6.str () << "
\r\n\r\n\r\n
";
+ s << "
\r\n\r\n
";
for (const auto& it: sessions)
{
auto endpoint = it.second->GetRemoteEndpoint ();
@@ -751,7 +751,7 @@ namespace http {
auto sessions6 = ssuServer->GetSessionsV6 ();
if (!sessions6.empty ())
{
- s << "
\r\n\r\n
";
+ s << "
\r\n\r\n
";
for (const auto& it: sessions6)
{
auto endpoint = it.second->GetRemoteEndpoint ();