aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-tcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c
index 3e79addce6..c0159a1eaa 100644
--- a/epan/dissectors/packet-tcp.c
+++ b/epan/dissectors/packet-tcp.c
@@ -1586,10 +1586,10 @@ finished_fwd:
}
/* Check for spurious retransmission. If the current seq + segment length
- * is less then the receivers lastack, the packet contains duplicated
- * data and may be considered spurious.
+ * is less than or equal to the receiver's lastack, the packet contains
+ * duplicate data and may be considered spurious.
*/
- if ( seq + seglen < tcpd->rev->lastack ) {
+ if ( seq + seglen <= tcpd->rev->lastack ) {
if(!tcpd->ta){
tcp_analyze_get_acked_struct(pinfo->num, seq, ack, TRUE, tcpd);
}