From 83317deb5caf40fc4bac5bb2101f3b2c24f79a77 Mon Sep 17 00:00:00 2001 From: Debayan De Date: Sun, 5 Apr 2020 18:11:16 +0100 Subject: [PATCH] Fixes a couple of spellings in statistics.c. --- statistics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/statistics.c b/statistics.c index 744047c..259d7e6 100644 --- a/statistics.c +++ b/statistics.c @@ -29,8 +29,8 @@ void print_statistics(int signal_id) else lossrate = 100; - fprintf(stderr, "\n--- %s hping statistic ---\n", targetname); - fprintf(stderr, "%d packets tramitted, %d packets received, " + fprintf(stderr, "\n--- %s hping statistics ---\n", targetname); + fprintf(stderr, "%d packets transmitted, %d packets received, " "%d%% packet loss\n", sent_pkt, recv_pkt, lossrate); if (out_of_sequence_pkt) fprintf(stderr, "%d out of sequence packets received\n",