aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mathieson <martin.mathieson@keysight.com>2021-03-28 23:32:14 +0100
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-03-29 05:30:27 +0000
commit678914ca0bbfbee9a2d4626b3fcc26b0b48a0109 (patch)
treedf6236a340177ad62ef82f4b55d5c4d8cfae1acd
parent7fee50274f36a5feba113aa9ad3e72ca37bf1466 (diff)
downloadwireshark-678914ca0bbfbee9a2d4626b3fcc26b0b48a0109.tar.gz
wireshark-678914ca0bbfbee9a2d4626b3fcc26b0b48a0109.tar.bz2
wireshark-678914ca0bbfbee9a2d4626b3fcc26b0b48a0109.zip
Fix some item lengths.
As seen by tools/check_type_item_lengths.py
-rw-r--r--epan/dissectors/asn1/ansi_map/packet-ansi_map-template.c4
-rw-r--r--epan/dissectors/packet-3g-a11.c2
-rw-r--r--epan/dissectors/packet-ansi_637.c2
-rw-r--r--epan/dissectors/packet-ansi_map.c4
-rw-r--r--epan/dissectors/packet-bgp.c2
-rw-r--r--epan/dissectors/packet-dis.c4
-rw-r--r--epan/dissectors/packet-ecmp.c8
-rw-r--r--epan/dissectors/packet-hdfsdata.c2
8 files changed, 14 insertions, 14 deletions
diff --git a/epan/dissectors/asn1/ansi_map/packet-ansi_map-template.c b/epan/dissectors/asn1/ansi_map/packet-ansi_map-template.c
index 51752c1913..ba50666b55 100644
--- a/epan/dissectors/asn1/ansi_map/packet-ansi_map-template.c
+++ b/epan/dissectors/asn1/ansi_map/packet-ansi_map-template.c
@@ -4837,11 +4837,11 @@ void proto_register_ansi_map(void) {
{ &hf_ansi_map_mslocation_lat,
{ "Latitude in tenths of a second", "ansi_map.mslocation.lat",
- FT_UINT8, BASE_DEC, NULL, 0,
+ FT_UINT24, BASE_DEC, NULL, 0,
NULL, HFILL }},
{ &hf_ansi_map_mslocation_long,
{ "Longitude in tenths of a second", "ansi_map.mslocation.long",
- FT_UINT8, BASE_DEC, NULL, 0,
+ FT_UINT24, BASE_DEC, NULL, 0,
"Switch Number (SWNO)", HFILL }},
{ &hf_ansi_map_mslocation_res,
{ "Resolution in units of 1 foot", "ansi_map.mslocation.res",
diff --git a/epan/dissectors/packet-3g-a11.c b/epan/dissectors/packet-3g-a11.c
index 9377fda156..bfe70aed40 100644
--- a/epan/dissectors/packet-3g-a11.c
+++ b/epan/dissectors/packet-3g-a11.c
@@ -2203,7 +2203,7 @@ proto_register_a11(void)
},
{ &hf_a11_vse_apptype,
{ "Application Type", "a11.ext.apptype",
- FT_UINT8, BASE_HEX | BASE_EXT_STRING, &a11_ext_app_ext, 0,
+ FT_UINT16, BASE_HEX | BASE_EXT_STRING, &a11_ext_app_ext, 0,
NULL, HFILL }
},
{ &hf_a11_vse_ppaddr,
diff --git a/epan/dissectors/packet-ansi_637.c b/epan/dissectors/packet-ansi_637.c
index e633846e2d..45b478e666 100644
--- a/epan/dissectors/packet-ansi_637.c
+++ b/epan/dissectors/packet-ansi_637.c
@@ -3016,7 +3016,7 @@ proto_register_ansi_637(void)
},
{ &hf_ansi_637_tele_cb_num_num_fields07f8,
{ "Number of fields", "ansi_637_tele.cb_num.num_fields",
- FT_UINT8, BASE_DEC, NULL, 0x07F8,
+ FT_UINT16, BASE_DEC, NULL, 0x07F8,
NULL, HFILL }
},
{ &hf_ansi_637_tele_cb_num_number,
diff --git a/epan/dissectors/packet-ansi_map.c b/epan/dissectors/packet-ansi_map.c
index 7fceee47ab..4866b018b8 100644
--- a/epan/dissectors/packet-ansi_map.c
+++ b/epan/dissectors/packet-ansi_map.c
@@ -16486,11 +16486,11 @@ void proto_register_ansi_map(void) {
{ &hf_ansi_map_mslocation_lat,
{ "Latitude in tenths of a second", "ansi_map.mslocation.lat",
- FT_UINT8, BASE_DEC, NULL, 0,
+ FT_UINT24, BASE_DEC, NULL, 0,
NULL, HFILL }},
{ &hf_ansi_map_mslocation_long,
{ "Longitude in tenths of a second", "ansi_map.mslocation.long",
- FT_UINT8, BASE_DEC, NULL, 0,
+ FT_UINT24, BASE_DEC, NULL, 0,
"Switch Number (SWNO)", HFILL }},
{ &hf_ansi_map_mslocation_res,
{ "Resolution in units of 1 foot", "ansi_map.mslocation.res",
diff --git a/epan/dissectors/packet-bgp.c b/epan/dissectors/packet-bgp.c
index 0b7a084815..1bb37e4539 100644
--- a/epan/dissectors/packet-bgp.c
+++ b/epan/dissectors/packet-bgp.c
@@ -10634,7 +10634,7 @@ proto_register_bgp(void)
{ "Cookie", "bgp.update.encaps_tunnel_tlv_subtlv_cookie", FT_BYTES,
BASE_NONE, NULL, 0x0, NULL, HFILL}},
{ &hf_bgp_update_encaps_tunnel_subtlv_gre_key,
- { "GRE Key", "bgp.update.encaps_tunnel_tlv_subtlv_gre_key", FT_UINT16,
+ { "GRE Key", "bgp.update.encaps_tunnel_tlv_subtlv_gre_key", FT_UINT32,
BASE_DEC, NULL, 0x0, NULL, HFILL}},
{ &hf_bgp_update_encaps_tunnel_subtlv_color_value,
{ "Color Value", "bgp.update.encaps_tunnel_tlv_subtlv_color_value", FT_UINT32,
diff --git a/epan/dissectors/packet-dis.c b/epan/dissectors/packet-dis.c
index 14e7a0108a..ab2dd8afcd 100644
--- a/epan/dissectors/packet-dis.c
+++ b/epan/dissectors/packet-dis.c
@@ -6785,7 +6785,7 @@ static int dissect_DIS_PARSER_DESIGNATOR_PDU(tvbuff_t *tvb, packet_info *pinfo,
proto_tree_add_item(sub_tree, hf_dis_designator_spot_location_z, tvb, offset, 8, ENC_BIG_ENDIAN);
offset += 8;
- proto_tree_add_item(tree, hf_dis_entity_dead_reckoning_algorithm, tvb, offset, 4, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_dis_entity_dead_reckoning_algorithm, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 3, ENC_NA);
@@ -9444,7 +9444,7 @@ void proto_register_dis(void)
},
{ &hf_dis_aggregate_formation,
{ "Formation", "dis.aggregate.formation",
- FT_UINT8, BASE_DEC, VALS(aggregate_formation_vals), 0x0,
+ FT_UINT32, BASE_DEC, VALS(aggregate_formation_vals), 0x0,
NULL, HFILL }
},
{ &hf_dis_aggregate_state,
diff --git a/epan/dissectors/packet-ecmp.c b/epan/dissectors/packet-ecmp.c
index d0a7d06e01..578e5ecc1f 100644
--- a/epan/dissectors/packet-ecmp.c
+++ b/epan/dissectors/packet-ecmp.c
@@ -3233,7 +3233,7 @@ void proto_register_ecmp (void)
{ "Factory Fitted Option ID", "ecmp.drive_factory_fit_category_id", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }},
{ &hf_ecmp_category_id,
- { "Option ID", "ecmp.category_id", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }},
+ { "Option ID", "ecmp.category_id", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }},
{ &hf_ecmp_cyclic_link_num,
{ "Cyclic Link Number", "ecmp.link_num", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }},
@@ -3248,13 +3248,13 @@ void proto_register_ecmp (void)
{ "Cyclic Link Number Display", "ecmp.link_num_display", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }},
{ &hf_ecmp_buffer_size,
- {"Buffer Size", "ecmp.buffer_size", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}},
+ {"Buffer Size", "ecmp.buffer_size", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}},
{ &hf_ecmp_max_response,
- {"Maximum Response Time", "ecmp.max_response", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}},
+ {"Maximum Response Time", "ecmp.max_response", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}},
{ &hf_ecmp_max_handle,
- {"Maximum Handle Period", "ecmp.max_handle", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}},
+ {"Maximum Handle Period", "ecmp.max_handle", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}},
{ &hf_ecmp_info_address,
{"Number of Default Route Addresses", "ecmp.count", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}},
diff --git a/epan/dissectors/packet-hdfsdata.c b/epan/dissectors/packet-hdfsdata.c
index 967965efb4..37363c77d7 100644
--- a/epan/dissectors/packet-hdfsdata.c
+++ b/epan/dissectors/packet-hdfsdata.c
@@ -665,7 +665,7 @@ proto_register_hdfsdata(void)
},
{ &hf_hdfsdata_chunksize,
{ "HDFSDATA chunk size", "hdfsdata.chunksize",
- FT_UINT16, BASE_DEC,
+ FT_UINT32, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},