aboutsummaryrefslogtreecommitdiffstats
path: root/packet-wtp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-11-05 04:23:59 +0000
committerGuy Harris <guy@alum.mit.edu>2003-11-05 04:23:59 +0000
commit004647081277a1e5146a1a79d2c7f81b7f224a27 (patch)
treec95f1a138d0dd4c43bb2c737a3b6f33f7e93f6a2 /packet-wtp.c
parent7fc668fbf984b8f84b89cbd96e5a7898c0dc4b6d (diff)
From Olivier Biot: have a separate subtree ett_ value for concatenated
PDUs. svn path=/trunk/; revision=8884
Diffstat (limited to 'packet-wtp.c')
-rw-r--r--packet-wtp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-wtp.c b/packet-wtp.c
index d449441703..a08de7d73e 100644
--- a/packet-wtp.c
+++ b/packet-wtp.c
@@ -2,7 +2,7 @@
*
* Routines to dissect WTP component of WAP traffic.
*
- * $Id: packet-wtp.c,v 1.52 2003/08/07 18:28:33 guy Exp $
+ * $Id: packet-wtp.c,v 1.53 2003/11/05 04:23:59 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -198,6 +198,7 @@ static int hf_wtp_fragment_error = HF_EMPTY;
/* Initialize the subtree pointers */
static gint ett_wtp = ETT_EMPTY;
+static gint ett_wtp_sub_pdu_tree = ETT_EMPTY;
static gint ett_header = ETT_EMPTY;
static gint ett_tpilist = ETT_EMPTY;
static gint ett_wsp_fragments = ETT_EMPTY;
@@ -346,7 +347,7 @@ dissect_wtp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (tree) {
ti = proto_tree_add_item(tree, proto_wtp,
tvb, offCur, 1, bo_little_endian);
- wtp_tree = proto_item_add_subtree(ti, ett_wtp);
+ wtp_tree = proto_item_add_subtree(ti, ett_wtp_sub_pdu_tree);
}
offCur = 1;
i = 1;
@@ -947,6 +948,7 @@ proto_register_wtp(void)
/* Setup protocol subtree array */
static gint *ett[] = {
&ett_wtp,
+ &ett_wtp_sub_pdu_tree,
&ett_header,
&ett_tpilist,
&ett_wsp_fragments,