From 0883fb6e34d4658b5db206382c6200e761fca859 Mon Sep 17 00:00:00 2001 From: z3APA3A <3APA3A@3proxy.ru> Date: Wed, 27 Jan 2016 15:38:47 +0300 Subject: [PATCH] Show traffic limit in MBs --- src/webadmin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webadmin.c b/src/webadmin.c index 22aa6d2..70b47c4 100644 --- a/src/webadmin.c +++ b/src/webadmin.c @@ -473,7 +473,7 @@ void * adminchild(struct clientparam* param) { "MB%s" "%"PRINTF_INT64_MODIFIER"u" "%s", - cp->traflim64, + cp->traflim64 / (1024 * 1024), rotations[cp->type], cp->traf64, cp->cleared?ctime(&cp->cleared):"never"