From 6e7fa4805b6498a03add8e4d7e68ba46c36cf6f5 Mon Sep 17 00:00:00 2001 From: etxrab Date: Tue, 25 May 2010 21:00:55 +0000 Subject: Only try header reassembly for TCP. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32952 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-sip.c') diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c index f6125b0c86..8b647f9601 100644 --- a/epan/dissectors/packet-sip.c +++ b/epan/dissectors/packet-sip.c @@ -1815,7 +1815,7 @@ dissect_sip_common(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tr /* * Just dissect it as a continuation. */ - } else if (use_reassembly) { + } else if ((use_reassembly)&&( pinfo->ptype == PT_TCP)) { /* * Yes, it's a request or response. * Do header desegmentation if we've been told to, -- cgit v1.2.3