From 08d7e14cdd87e8892e09a135c1ec4ed4e4f55be3 Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Fri, 13 Nov 2020 23:42:03 +0000 Subject: [PATCH] Fix a few more item lengths. --- epan/dissectors/packet-ged125.c | 2 +- epan/dissectors/packet-hiqnet.c | 4 ++-- epan/dissectors/packet-mpeg-descriptor.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/epan/dissectors/packet-ged125.c b/epan/dissectors/packet-ged125.c index 6939c2621a..7a70de8c7c 100644 --- a/epan/dissectors/packet-ged125.c +++ b/epan/dissectors/packet-ged125.c @@ -1436,7 +1436,7 @@ proto_register_ged125 (void) { &hf_ged125_TrunkNumber, { "Trunk Number", "ged125.trunk_number", - FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL }}, + FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }}, { &hf_ged125_TrunkStatus, { "Trunk Status", "ged125.trunk_status", diff --git a/epan/dissectors/packet-hiqnet.c b/epan/dissectors/packet-hiqnet.c index a3449e4a18..9bd7561445 100644 --- a/epan/dissectors/packet-hiqnet.c +++ b/epan/dissectors/packet-hiqnet.c @@ -1137,7 +1137,7 @@ proto_register_hiqnet(void) }, { &hf_hiqnet_sourcedev, { "Source device", "hiqnet.srcdev", - FT_UINT8, BASE_DEC_HEX, + FT_UINT16, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, @@ -1149,7 +1149,7 @@ proto_register_hiqnet(void) }, { &hf_hiqnet_destdev, { "Destination device", "hiqnet.dstdev", - FT_UINT8, BASE_DEC_HEX, + FT_UINT16, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL } }, diff --git a/epan/dissectors/packet-mpeg-descriptor.c b/epan/dissectors/packet-mpeg-descriptor.c index af09a21a7d..ed36a744da 100644 --- a/epan/dissectors/packet-mpeg-descriptor.c +++ b/epan/dissectors/packet-mpeg-descriptor.c @@ -2211,7 +2211,7 @@ proto_mpeg_descriptor_dissect_app_sig(tvbuff_t *tvb, guint offset, guint len, pr while ((offset - offset_start) < len) { proto_tree_add_item(tree, hf_mpeg_descr_app_sig_app_type, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; - proto_tree_add_item(tree, hf_mpeg_descr_app_sig_ait_ver, tvb, offset, 2, ENC_BIG_ENDIAN); + proto_tree_add_item(tree, hf_mpeg_descr_app_sig_ait_ver, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; } }