aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2019-11-30 20:47:48 +0100
committerToni Uhlig <matzeton@googlemail.com>2019-11-30 20:47:48 +0100
commit997e6f96181e77c926bac4bc72a29f238e6e045f (patch)
tree1a1a136d7f2096f20e6c89fe28fecbe17b89c703
parente5ebabc97c4b2ac51cd2e8a7bb92c045b334bc05 (diff)
print sequence number for superfluous ACK's recv
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--src/pkt.c6
1 files 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);
+ }
}