From 84f89e97a29d4e5abff0839f44c13aeac43a6c74 Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Sat, 24 Oct 2020 14:32:16 +0100 Subject: [PATCH] DPNET: Make some 4-byte fields FT_UINT32. None of these fields are likely to reach 2^16... --- epan/dissectors/packet-dpnet.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/epan/dissectors/packet-dpnet.c b/epan/dissectors/packet-dpnet.c index 3f0a432e78..80c32a74aa 100644 --- a/epan/dissectors/packet-dpnet.c +++ b/epan/dissectors/packet-dpnet.c @@ -505,19 +505,19 @@ proto_register_dpnet(void) }, { &hf_dpnet_reply_offset, { "Reply Offset", "dpnet.reply_offset", - FT_UINT16, BASE_DEC, + FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_dpnet_response_size, { "Response Size", "dpnet.response_size", - FT_UINT16, BASE_DEC, + FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_dpnet_desc_size, { "Description Size", "dpnet.desc_size", - FT_UINT16, BASE_DEC, + FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } }, @@ -529,13 +529,13 @@ proto_register_dpnet(void) }, { &hf_dpnet_max_players, { "Max Players", "dpnet.max_players", - FT_UINT16, BASE_DEC, + FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_dpnet_current_players, { "Current Players", "dpnet.current_players", - FT_UINT16, BASE_DEC, + FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } }, @@ -559,25 +559,25 @@ proto_register_dpnet(void) }, { &hf_dpnet_password_offset, { "Password Offset", "dpnet.password_offset", - FT_UINT16, BASE_DEC, + FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_dpnet_password_size, { "Password Size", "dpnet.password_size", - FT_UINT16, BASE_DEC, + FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_dpnet_reserved_offset, { "Reserved Offset", "dpnet.reserved_offset", - FT_UINT16, BASE_DEC, + FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_dpnet_reserved_size, { "Reserved Size", "dpnet.reserved_size", - FT_UINT16, BASE_DEC, + FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL } },