From 997e6f96181e77c926bac4bc72a29f238e6e045f Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sat, 30 Nov 2019 20:47:48 +0100 Subject: print sequence number for superfluous ACK's recv Signed-off-by: Toni Uhlig --- src/pkt.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pkt.c b/src/pkt.c index 8972dab..3cc4554 100644 --- a/src/pkt.c +++ b/src/pkt.c @@ -530,6 +530,8 @@ void handle_ack(uint16_t seq_no, icmp_desc_t ring[], int *packets_awaiting_ack, } } } - else - pt_log(kLog_verbose, "Dropping superfluous acknowledgement (no outstanding packets needing ack.)\n"); + else { + pt_log(kLog_verbose, "Dropping superfluous acknowledgement for seq %d " + "(no outstanding packets needing ack.)\n", seq_no); + } } -- cgit v1.2.3