summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netsniff-ng.c9
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();
27eb72cbcf81561867a764074964e2ce9828398'>hns-abi.h1795logplain -rw-r--r--ib_user_cm.h6526logplain -rw-r--r--ib_user_mad.h8791logplain -rw-r--r--ib_user_sa.h2222logplain -rw-r--r--ib_user_verbs.h21586logplain -rw-r--r--mlx4-abi.h2864logplain