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",