Parcourir la source

Show traffic limit in MBs

z3APA3A il y a 10 ans
Parent
commit
0883fb6e34
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/webadmin.c

+ 1 - 1
src/webadmin.c

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