Show traffic limit in MBs

This commit is contained in:
z3APA3A 2016-01-27 15:38:47 +03:00
parent 2de3f0c380
commit 0883fb6e34

View File

@ -473,7 +473,7 @@ void * adminchild(struct clientparam* param) {
"<td>MB%s</td>" "<td>MB%s</td>"
"<td>%"PRINTF_INT64_MODIFIER"u</td>" "<td>%"PRINTF_INT64_MODIFIER"u</td>"
"<td>%s</td>", "<td>%s</td>",
cp->traflim64, cp->traflim64 / (1024 * 1024),
rotations[cp->type], rotations[cp->type],
cp->traf64, cp->traf64,
cp->cleared?ctime(&cp->cleared):"never" cp->cleared?ctime(&cp->cleared):"never"