summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-v5ef.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--epan/dissectors/packet-v5ef.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/epan/dissectors/packet-v5ef.c b/epan/dissectors/packet-v5ef.c
index 89afcd1a..36f3cc19 100644
--- a/epan/dissectors/packet-v5ef.c
+++ b/epan/dissectors/packet-v5ef.c
@@ -25,16 +25,16 @@
void proto_register_v5ef(void);
void proto_reg_handoff_v5ef(void);
-static int proto_v5ef = -1;
-static int hf_v5ef_direction = -1;
-static int hf_v5ef_address = -1;
-static int hf_v5ef_eah = -1;
-static int hf_v5ef_ea1 = -1;
-static int hf_v5ef_eal = -1;
-static int hf_v5ef_ea2 = -1;
+static int proto_v5ef;
+static int hf_v5ef_direction;
+static int hf_v5ef_address;
+static int hf_v5ef_eah;
+static int hf_v5ef_ea1;
+static int hf_v5ef_eal;
+static int hf_v5ef_ea2;
-static gint ett_v5ef = -1;
-static gint ett_v5ef_address = -1;
+static int ett_v5ef;
+static int ett_v5ef_address;
static dissector_handle_t v5dl_handle, lapd_phdr_handle, v5ef_handle;
@@ -65,7 +65,7 @@ dissect_v5ef(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
proto_item *v5ef_ti, *addr_ti;
int direction;
int v5ef_header_len;
- guint16 addr, eah, eal, efaddr;
+ uint16_t addr, eah, eal, efaddr;
tvbuff_t *next_tvb;
const char *srcname = "src";
const char *dstname = "dst";
@@ -144,7 +144,7 @@ proto_register_v5ef(void)
{ &hf_v5ef_address,
{ "Address Field", "v5ef.address", FT_UINT16, BASE_HEX, NULL, 0x0,
- "Address", HFILL }},
+ NULL, HFILL }},
{ &hf_v5ef_eah,
{ "EAH", "v5ef.eah", FT_UINT16, BASE_DEC, NULL, V5EF_EAH,
@@ -163,7 +163,7 @@ proto_register_v5ef(void)
"Second Address Extension bit", HFILL }},
};
- static gint *ett[] = {
+ static int *ett[] = {
&ett_v5ef,
&ett_v5ef_address,
};