mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 10:35:40 +08:00
traffic displayed incorrectly
This commit is contained in:
parent
f649c7d4de
commit
c3871caf2a
@ -480,9 +480,9 @@ void * adminchild(struct clientparam* param) {
|
||||
"<td>MB%s</td>"
|
||||
"<td>%.3f MB</td>"
|
||||
"<td>%s</td>",
|
||||
(1024.0 * (float)cp->traflimgb) + (float)cp->traflim/1048576.0,
|
||||
(4 * 1024.0 * (float)cp->traflimgb) + (float)cp->traflim/(1024.*1024.),
|
||||
rotations[cp->type],
|
||||
(1024.0 * (float)cp->trafgb) + (float)cp->traf/1048576.0,
|
||||
(4 * 1024.0 * (float)cp->trafgb) + (float)cp->traf/(1024.*1024.),
|
||||
cp->cleared?ctime(&cp->cleared):"never"
|
||||
);
|
||||
inbuf += sprintf(buf + inbuf,
|
||||
|
Loading…
Reference in New Issue
Block a user