aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pw-satop.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2018-10-20 21:58:43 -0400
committerAnders Broman <a.broman58@gmail.com>2018-10-21 06:56:12 +0000
commit233df2b3c8e12d2a8fd292e159b7bca942a0ef95 (patch)
treeb6ef8f70ce456d87f2e9583369567254e8eebe6d /epan/dissectors/packet-pw-satop.c
parent8652762738f1bc4a4b5bac221463bb77718b6531 (diff)
pw: make ett names longer.
This makes it easier to find (and check) them programatically. Change-Id: I8eb99116fa582eddc534659589b361edd91c085a Reviewed-on: https://code.wireshark.org/review/30292 Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-pw-satop.c')
-rw-r--r--epan/dissectors/packet-pw-satop.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-pw-satop.c b/epan/dissectors/packet-pw-satop.c
index c78bf67d45..ddba278c66 100644
--- a/epan/dissectors/packet-pw-satop.c
+++ b/epan/dissectors/packet-pw-satop.c
@@ -29,7 +29,7 @@ void proto_register_pw_satop(void);
void proto_reg_handoff_pw_satop(void);
static gint proto = -1;
-static gint ett = -1;
+static gint ett_pw_satop = -1;
static int hf_cw = -1;
static int hf_cw_bits03 = -1;
@@ -244,7 +244,7 @@ void dissect_pw_satop(tvbuff_t * tvb_original
pwc_item_append_text_n_items(item,(int)payload_size,"octet");
{
proto_tree* tree2;
- tree2 = proto_item_add_subtree(item, ett);
+ tree2 = proto_item_add_subtree(item, ett_pw_satop);
{
tvbuff_t* tvb;
proto_item* item2;
@@ -253,7 +253,7 @@ void dissect_pw_satop(tvbuff_t * tvb_original
pwc_item_append_cw(item2, tvb_get_ntohl(tvb, 0),FALSE);
{
proto_tree* tree3;
- tree3 = proto_item_add_subtree(item2, ett);
+ tree3 = proto_item_add_subtree(item2, ett_pw_satop);
{
proto_item* item3;
if (properties & PWC_CW_BAD_BITS03) /*display only if value is wrong*/
@@ -317,7 +317,7 @@ void dissect_pw_satop(tvbuff_t * tvb_original
{
proto_tree* tree2;
- tree2 = proto_item_add_subtree(item, ett);
+ tree2 = proto_item_add_subtree(item, ett_pw_satop);
{
proto_item* item2;
tvbuff_t* tvb;
@@ -347,7 +347,7 @@ void dissect_pw_satop(tvbuff_t * tvb_original
break;
}
proto_item_append_text(item2, "%s", s);
- tree3 = proto_item_add_subtree(item2, ett);
+ tree3 = proto_item_add_subtree(item2, ett_pw_satop);
call_data_dissector(tvb, pinfo, tree3);
item2 = proto_tree_add_int(tree3, hf_payload_l, tvb, 0, 0
,(int)payload_size); /* allow filtering */
@@ -360,7 +360,7 @@ void dissect_pw_satop(tvbuff_t * tvb_original
if (padding_size > 0)
{
proto_tree* tree2;
- tree2 = proto_item_add_subtree(item, ett);
+ tree2 = proto_item_add_subtree(item, ett_pw_satop);
{
tvbuff_t* tvb;
tvb = tvb_new_subset_length_caplen(tvb_original, PWC_SIZEOF_CW + payload_size, padding_size, -1);
@@ -433,7 +433,7 @@ void proto_register_pw_satop(void)
};
static gint *ett_array[] = {
- &ett
+ &ett_pw_satop
};
static ei_register_info ei[] = {
{ &ei_cw_packet_size_too_small, { "pwsatop.packet_size_too_small", PI_MALFORMED, PI_ERROR, "PW packet size (%d) is too small to carry sensible information", EXPFILL }},