diff options
-rw-r--r-- | netsniff-ng.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c index 3b69c8f..3ae05cf 100644 --- a/netsniff-ng.c +++ b/netsniff-ng.c @@ -1119,12 +1119,9 @@ next: bug_on(gettimeofday(&end, NULL)); timersub(&end, &start, &diff); - if (ctx->print_mode != PRINT_NONE) { - dump_rx_stats(ctx, sock, is_v3); - - printf("\r%12lu sec, %lu usec in total\n", - diff.tv_sec, diff.tv_usec); - } + dump_rx_stats(ctx, sock, is_v3); + printf("\r%12lu sec, %lu usec in total\n", + diff.tv_sec, diff.tv_usec); bpf_release(&bpf_ops); dissector_cleanup_all(); |