added SetFamilyString(); GetFamilyString() and shows family in webiface

This commit is contained in:
weekendi2p 2016-04-27 00:31:33 +02:00
parent c54f7c81c4
commit a78caa2976
3 changed files with 15 additions and 0 deletions

View file

@ -417,6 +417,7 @@ namespace util
default: s << "Unknown";
}
s << "<br>\r\n";
s << "<b>Family:</b> " << i2p::context.GetFamilyString() << "<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);