Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions statistics.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down