aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tcp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-08-26 16:39:11 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-08-26 16:39:11 +0000
commit2aa9312c14875d496d7862d742ee7bb40a5f0663 (patch)
tree9f10b67c9e2de38f9f193c547b8c9a310cf09ab7 /epan/dissectors/packet-tcp.c
parentd0c229641f222c71dcd196d6d52144f6a5203be7 (diff)
From Ilarion Ishkulov Multisegment PDUs are not reassembled properly with TCP dissector https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7544
svn path=/trunk/; revision=44680
Diffstat (limited to 'epan/dissectors/packet-tcp.c')
-rw-r--r--epan/dissectors/packet-tcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c
index 98b91b270f..f6112015d6 100644
--- a/epan/dissectors/packet-tcp.c
+++ b/epan/dissectors/packet-tcp.c
@@ -1787,7 +1787,8 @@ again:
tcp_fragment_table, seq - msp->seq, len,
(LT_SEQ (nxtseq,msp->nxtpdu)) );
- if (msp->flags & MSP_FLAGS_REASSEMBLE_ENTIRE_SEGMENT) {
+ if (!PINFO_FD_VISITED(pinfo)
+ && msp->flags & MSP_FLAGS_REASSEMBLE_ENTIRE_SEGMENT) {
msp->flags &= (~MSP_FLAGS_REASSEMBLE_ENTIRE_SEGMENT);
/* If we consumed the entire segment there is no