diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-11-05 04:23:59 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-11-05 04:23:59 +0000 |
commit | 01497ad5627a815857072f8ac8e321e8536a56f6 (patch) | |
tree | c95f1a138d0dd4c43bb2c737a3b6f33f7e93f6a2 /packet-wtp.c | |
parent | 0a24229e455137b997ed5037189cc1cfdc63d29f (diff) |
From Olivier Biot: have a separate subtree ett_ value for concatenated
PDUs.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8884 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-wtp.c')
-rw-r--r-- | packet-wtp.c | 6 |
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, |