summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ypbind.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
commitc4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch)
tree93d5c6aa93d9987680dd1adad5685e2ad698f223 /epan/dissectors/packet-ypbind.c
parentAdding upstream version 4.2.6. (diff)
downloadwireshark-upstream.tar.xz
wireshark-upstream.zip
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-ypbind.c')
-rw-r--r--epan/dissectors/packet-ypbind.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/epan/dissectors/packet-ypbind.c b/epan/dissectors/packet-ypbind.c
index 4d4965ca..40979d89 100644
--- a/epan/dissectors/packet-ypbind.c
+++ b/epan/dissectors/packet-ypbind.c
@@ -20,17 +20,17 @@
void proto_register_ypbind(void);
void proto_reg_handoff_ypbind(void);
-static int proto_ypbind = -1;
-static int hf_ypbind_procedure_v1 = -1;
-static int hf_ypbind_procedure_v2 = -1;
-static int hf_ypbind_domain = -1;
-static int hf_ypbind_resp_type = -1;
-/* static int hf_ypbind_error = -1; */
-static int hf_ypbind_addr = -1;
-static int hf_ypbind_port = -1;
-static int hf_ypbind_setdom_version = -1;
+static int proto_ypbind;
+static int hf_ypbind_procedure_v1;
+static int hf_ypbind_procedure_v2;
+static int hf_ypbind_domain;
+static int hf_ypbind_resp_type;
+/* static int hf_ypbind_error; */
+static int hf_ypbind_addr;
+static int hf_ypbind_port;
+static int hf_ypbind_setdom_version;
-static gint ett_ypbind = -1;
+static int ett_ypbind;
static int
@@ -63,7 +63,7 @@ static const value_string error_vals[] = {
static int
dissect_ypbind_domain_v2_reply(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_)
{
- guint32 type;
+ uint32_t type;
int offset = 0;
/* response type */
@@ -195,7 +195,7 @@ proto_register_ypbind(void)
};
- static gint *ett[] = {
+ static int *ett[] = {
&ett_ypbind,
};