mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-03-29 09:50:25 +00:00
Console: Fix overstatement of lifetime tunnel bw usage
Current tunnels were multiplied by 1024x
This commit is contained in:
@@ -424,8 +424,8 @@ class TunnelRenderer {
|
||||
else
|
||||
out.write("<td class=\"cells\"> </td>\n");
|
||||
}
|
||||
int count = info.getProcessedMessagesCount() * 1024;
|
||||
out.write("<td class=\"cells\" align=\"center\">" + DataHelper.formatSize2(count) + "B</td>\n");
|
||||
int count = info.getProcessedMessagesCount();
|
||||
out.write("<td class=\"cells\" align=\"center\">" + DataHelper.formatSize2(count * 1024) + "B</td>\n");
|
||||
int length = info.getLength();
|
||||
for (int j = 0; j < length; j++) {
|
||||
Hash peer = info.getPeer(j);
|
||||
|
||||
Reference in New Issue
Block a user