From: Michael Tremer Date: Thu, 4 Feb 2021 14:51:30 +0000 (+0000) Subject: stats: Reset bytes sent, too X-Git-Tag: 0.1.0~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a3c72cfc4b5a5d7231082e3d3aaacd404a4ecdb3;p=fireperf.git stats: Reset bytes sent, too Signed-off-by: Michael Tremer --- 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)