From 0f2584c4d2da10bc952eb2bf24dd524360e17d10 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Tue, 27 Sep 2005 05:39:58 +0000 Subject: - Make the reassemble TCP preference default TRUE. - in dissect_tpkt_encap() only check the desegment flag passed in the function. svn path=/trunk/; revision=16016 --- epan/dissectors/packet-tpkt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-tpkt.c') diff --git a/epan/dissectors/packet-tpkt.c b/epan/dissectors/packet-tpkt.c index ca02451316..70218b3fd3 100644 --- a/epan/dissectors/packet-tpkt.c +++ b/epan/dissectors/packet-tpkt.c @@ -133,7 +133,7 @@ dissect_tpkt_encap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, * which case we'd have to zero the buffer out explicitly * anyway. */ - if (tpkt_desegment && check_col(pinfo->cinfo, COL_INFO)) + if (desegment && check_col(pinfo->cinfo, COL_INFO)) col_add_str(pinfo->cinfo, COL_INFO, ""); while (tvb_reported_length_remaining(tvb, offset) != 0) { @@ -232,7 +232,7 @@ dissect_tpkt_encap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, * information without getting TPKT stuff in the middle; * why the second? */ - if (!tpkt_desegment && !pinfo->fragmented + if (!desegment && !pinfo->fragmented && check_col(pinfo->cinfo, COL_INFO)) { col_add_fstr(pinfo->cinfo, COL_INFO, "TPKT Data length = %u", data_len); -- cgit v1.2.3