aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sip.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-02-18 20:55:57 +0000
committerGuy Harris <guy@alum.mit.edu>2004-02-18 20:55:57 +0000
commitad1a6ce0e47b8d84fa4615ae9a42807073525f40 (patch)
tree01ccd71249dbc5780eebab7a2f58cf7dbfb1dcb6 /packet-sip.c
parent037c2c12e41bee877c2d39dca8e61a7efd48d37a (diff)
From Martin Mathieson: make the top-level SIP item include the message
body, as that's included in the SIP tree. svn path=/trunk/; revision=10099
Diffstat (limited to 'packet-sip.c')
-rw-r--r--packet-sip.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/packet-sip.c b/packet-sip.c
index 1bb555ecca..6401bf9b93 100644
--- a/packet-sip.c
+++ b/packet-sip.c
@@ -18,7 +18,7 @@
* Copyright 2000, Heikki Vatiainen <hessu@cs.tut.fi>
* Copyright 2001, Jean-Francois Mule <jfm@cablelabs.com>
*
- * $Id: packet-sip.c,v 1.59 2004/02/11 09:19:02 guy Exp $
+ * $Id: packet-sip.c,v 1.60 2004/02/18 20:55:57 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -737,10 +737,8 @@ dissect_sip_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
/*
* There's a message body starting at "next_offset".
- * Set the length of the SIP portion and of the
- * header item.
+ * Set the length of the header item.
*/
- proto_item_set_end(ts, tvb, next_offset);
proto_item_set_end(th, tvb, next_offset);
next_tvb = tvb_new_subset(tvb, next_offset, -1, -1);
ti = proto_tree_add_text(sip_tree, next_tvb, 0, -1,