- leaks
[oweals/gnunet.git] / src / mesh / test_mesh_local_traffic.c
index c3e99f84ac52b3f8ebccca6096508df3329374b8..b422c64e843039702884bc179b9a2412d87506c9 100644 (file)
@@ -512,7 +512,7 @@ main (int argc, char *argv[])
     FPRINTF (stderr, "\nTest time %llu ms\n",
              (unsigned long long) total_time.rel_value);
     FPRINTF (stderr, "Test payload bandwidth: %f kb/s\n",
-             4 * 1000.0 / total_time.rel_value); // 4bytes * ms
+             total_traffic * 4.0 / total_time.rel_value); // 4bytes * kb/ms
     FPRINTF (stderr, "Test throughput: %f packets/s\n\n",
              total_traffic * 1000.0 / total_time.rel_value); // 1000 packets * ms
     GAUGER ("MESH",