diff options
Diffstat (limited to 'epan/dissectors/packet-aruba-adp.c')
-rw-r--r-- | epan/dissectors/packet-aruba-adp.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/epan/dissectors/packet-aruba-adp.c b/epan/dissectors/packet-aruba-adp.c index 312536be..71fc6bad 100644 --- a/epan/dissectors/packet-aruba-adp.c +++ b/epan/dissectors/packet-aruba-adp.c @@ -24,14 +24,14 @@ void proto_reg_handoff_aruba_adp(void); static dissector_handle_t adp_handle; -static int proto_aruba_adp = -1; -static gint ett_aruba_adp = -1; +static int proto_aruba_adp; +static int ett_aruba_adp; -static int hf_adp_version = -1; -static int hf_adp_type = -1; -static int hf_adp_id = -1; -static int hf_adp_mac = -1; -static int hf_adp_switchip = -1; +static int hf_adp_version; +static int hf_adp_type; +static int hf_adp_id; +static int hf_adp_mac; +static int hf_adp_switchip; static const value_string adp_type_val[] = { @@ -45,9 +45,9 @@ dissect_aruba_adp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dat { proto_tree *ti = NULL; proto_tree *aruba_adp_tree = NULL; - guint16 type; - const gchar *mac_str; - const gchar *switchip; + uint16_t type; + const char *mac_str; + const char *switchip; col_set_str(pinfo->cinfo, COL_PROTOCOL, "ADP"); @@ -121,7 +121,7 @@ proto_register_aruba_adp(void) }; - static gint *ett[] = { + static int *ett[] = { &ett_aruba_adp, }; |