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:
parent
7ae09fa1fe
commit
f64f875806
@ -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 << " ⇄ " << info->RemoteEndpoint << "</td>";
|
||||
s << "</tr><br>\r\n";
|
||||
}
|
||||
s << "</table>\r\n";
|
||||
s << "</table>";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user