1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-08 22:57:52 +00:00

don't show udp tunnels in ui yet

This commit is contained in:
Jeff Becker 2016-09-03 18:04:54 -04:00
parent 7ae09fa1fe
commit f64f875806
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -338,34 +338,7 @@ namespace http {
s << "<td>" << (int)it->GetStatus () << "</td>";
s << "</tr><br>\r\n" << std::endl;
}
s << "</table><br>\r\n<table><caption>Forwards</caption><tr>";
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 << " &#8644; " << info->RemoteEndpoint << "</td>";
s << "</tr><br>\r\n";
}
s << "</table>\r\n";
s << "</table>";
}
}