aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sip.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-05-25 21:00:55 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-05-25 21:00:55 +0000
commit7436d045509a80fdf6e1ab1403daf249a4ebd595 (patch)
tree9bab7e7c725f906689ec158b40f35c51927a0df4 /epan/dissectors/packet-sip.c
parent069fbb2ad3fea9c4ef64487168d697bac231c74c (diff)
Only try header reassembly for TCP.
svn path=/trunk/; revision=32952
Diffstat (limited to 'epan/dissectors/packet-sip.c')
-rw-r--r--epan/dissectors/packet-sip.c2
1 files changed, 1 insertions, 1 deletions
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,