From a3c72cfc4b5a5d7231082e3d3aaacd404a4ecdb3 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 4 Feb 2021 14:51:30 +0000 Subject: [PATCH] stats: Reset bytes sent, too Signed-off-by: Michael Tremer --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index 5fbeaa0..6eb9d89 100644 --- a/src/main.c +++ b/src/main.c @@ -387,6 +387,7 @@ int fireperf_dump_stats(struct fireperf_config* conf, struct fireperf_stats* sta // Reset statistics stats->connections = 0; stats->bytes_received = 0; + stats->bytes_sent = 0; // Cleanup if (total_bytes) -- 2.47.3