|
|
@ -338,34 +338,7 @@ namespace http { |
|
|
|
s << "<td>" << (int)it->GetStatus () << "</td>"; |
|
|
|
s << "<td>" << (int)it->GetStatus () << "</td>"; |
|
|
|
s << "</tr><br>\r\n" << std::endl; |
|
|
|
s << "</tr><br>\r\n" << std::endl; |
|
|
|
} |
|
|
|
} |
|
|
|
s << "</table><br>\r\n<table><caption>Forwards</caption><tr>"; |
|
|
|
s << "</table>"; |
|
|
|
s << "<th>Remote Destination</th>"; |
|
|
|
|
|
|
|
s << "<th>IBGW</th>"; |
|
|
|
|
|
|
|
s << "<th>OBEP</th>"; |
|
|
|
|
|
|
|
s << "<th>UDP Converstation</th>"; |
|
|
|
|
|
|
|
s << "</th>"; |
|
|
|
|
|
|
|
auto forward = i2p::client::context.GetForwardInfosFor(dest->GetIdentHash()); |
|
|
|
|
|
|
|
for (auto info : forward) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
s << "<tr>"; |
|
|
|
|
|
|
|
s << "<td>" << info->RemoteIdent->ToBase32() << "</td>"; |
|
|
|
|
|
|
|
s << "<td>"; |
|
|
|
|
|
|
|
if(info->CurrentIBGW) |
|
|
|
|
|
|
|
s << info->CurrentIBGW->ToBase64().c_str(); |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
s << "(none)"; |
|
|
|
|
|
|
|
s << "</td>"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
s << "<td>"; |
|
|
|
|
|
|
|
if(info->CurrentOBEP) |
|
|
|
|
|
|
|
s << info->CurrentOBEP->ToBase64().c_str(); |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
s << "(none)"; |
|
|
|
|
|
|
|
s << "</td>"; |
|
|
|
|
|
|
|
s << "<td>" << info->LocalEndpoint << " ⇄ " << info->RemoteEndpoint << "</td>"; |
|
|
|
|
|
|
|
s << "</tr><br>\r\n"; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
s << "</table>\r\n"; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|