diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-05-31 11:15:45 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-05-31 11:15:45 +0000 |
commit | 697974ae8d8bda44de29b8cbc20c6d0bb2cab5be (patch) | |
tree | 43b32fef14c3cd2598ac10bff548e4ac242ff551 /epan/dissectors/packet-tcp.c | |
parent | 9b2a95f2d4e7d8aa3c36fb223a42527ca7550e09 (diff) |
improve the tcp retransmission vs outoforder heuristics to address the issue in PeterBruno's email of may18
dont reply to mailinglist that issue has been resolved since "ethereal" is still in limbo
svn path=/trunk/; revision=18263
Diffstat (limited to 'epan/dissectors/packet-tcp.c')
-rw-r--r-- | epan/dissectors/packet-tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c index 9ce41623ab..c86d3e6789 100644 --- a/epan/dissectors/packet-tcp.c +++ b/epan/dissectors/packet-tcp.c @@ -679,7 +679,7 @@ finished_fwd: goto finished_checking_retransmission_type; } - /* If there were >=1 duplicate ACKs in the reverse direction + /* If there were >=2 duplicate ACKs in the reverse direction * (there might be duplicate acks missing from the trace) * and if this sequence number matches those ACKs * and if the packet occurs within 20ms of the last @@ -688,7 +688,7 @@ finished_fwd: */ t=(pinfo->fd->abs_ts.secs-tcpd->rev->lastacktime.secs)*1000000000; t=t+(pinfo->fd->abs_ts.nsecs)-tcpd->rev->lastacktime.nsecs; - if( tcpd->rev->dupacknum>=1 + if( tcpd->rev->dupacknum>=2 && tcpd->rev->lastack==seq && t<20000000 ){ if(!tcpd->ta){ |