mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
get family string from local RouterInfo
This commit is contained in:
parent
c5f2890cbe
commit
5e2dc14dd5
6 changed files with 15 additions and 15 deletions
|
@ -417,7 +417,9 @@ namespace util
|
|||
default: s << "Unknown";
|
||||
}
|
||||
s << "<br>\r\n";
|
||||
s << "<b>Family:</b> " << i2p::context.GetFamilyString() << "<br>\r\n";
|
||||
auto family = i2p::context.GetFamily ();
|
||||
if (family.length () > 0)
|
||||
s << "<b>Family:</b> " << family << "<br>\r\n";
|
||||
s << "<b>Tunnel creation success rate:</b> " << i2p::tunnel::tunnels.GetTunnelCreationSuccessRate () << "%<br>\r\n";
|
||||
s << "<b>Received:</b> ";
|
||||
s << std::fixed << std::setprecision(2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue