diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-02-10 22:24:21 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-02-10 22:24:21 +0000 |
commit | f535b4cba14e94b98050f4864aa047e47a3edf04 (patch) | |
tree | 795298c894ba8e2ce38e48eb3097a65d0ce9f1c9 /epan | |
parent | db0a70d03900154bf14e13d8ef3220468a281fef (diff) |
tcp analysis
RST segments should not be checked for and not marked as
PREVIOUS_SEGMENT_LOST
svn path=/trunk/; revision=17246
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-tcp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c index f210bb0dc2..1b0a207d08 100644 --- a/epan/dissectors/packet-tcp.c +++ b/epan/dissectors/packet-tcp.c @@ -581,9 +581,11 @@ printf("REV list lastflags:0x%04x base_seq:0x%08x:\n",tcpd->rev->lastsegmentflag * * We only check for this if we have actually seen segments prior to this * one. + * RST packets are not checked for this. */ if( tcpd->fwd->nextseq - && GT_SEQ(seq, tcpd->fwd->nextseq)) { + && GT_SEQ(seq, tcpd->fwd->nextseq) + && (flags&(TH_RST))==0 ){ if(!ta){ ta=tcp_analyze_get_acked_struct(pinfo->fd->num, TRUE); } |