diff options
author | Martin Mathieson <martin.mathieson@keysight.com> | 2020-10-22 20:59:56 +0100 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2020-10-22 20:30:45 +0000 |
commit | a46bda17ef1b6c857d106f7cdd57a81f446edacc (patch) | |
tree | 56f233b838fe3cc17052186fcac0440991eb4d3c | |
parent | 4653955957aef9fb28f7156d02218fa4bb6cf47a (diff) |
Lustre: Fix some item lengths.
-rw-r--r-- | epan/dissectors/packet-lustre.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-lustre.c b/epan/dissectors/packet-lustre.c index dba1c83e25..fee1c438d2 100644 --- a/epan/dissectors/packet-lustre.c +++ b/epan/dissectors/packet-lustre.c @@ -3480,7 +3480,7 @@ dissect_struct_hsm_progress(tvbuff_t *tvb, int offset, proto_tree *parent_tree) offset += 2; proto_tree_add_item(tree, hf_lustre_hsm_prog_errval, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 2; - proto_tree_add_item(tree, hf_lustre_hsm_prog_padding1, tvb, offset, 8, ENC_LITTLE_ENDIAN); + proto_tree_add_item(tree, hf_lustre_hsm_prog_padding1, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; proto_tree_add_item(tree, hf_lustre_hsm_prog_data_ver, tvb, offset, 8, ENC_LITTLE_ENDIAN); offset += 8; @@ -3517,13 +3517,13 @@ dissect_struct_hsm_user_state(tvbuff_t *tvb, int offset, packet_info *pinfo, pro /* char hus_extended_info[]; */ /* }; */ - proto_tree_add_item(tree, hf_lustre_hsm_us_states, tvb, offset, 8, ENC_LITTLE_ENDIAN); + proto_tree_add_item(tree, hf_lustre_hsm_us_states, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; - proto_tree_add_item(tree, hf_lustre_hsm_us_archive_id, tvb, offset, 8, ENC_LITTLE_ENDIAN); + proto_tree_add_item(tree, hf_lustre_hsm_us_archive_id, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; - proto_tree_add_item(tree, hf_lustre_hsm_us_in_prog_state, tvb, offset, 8, ENC_LITTLE_ENDIAN); + proto_tree_add_item(tree, hf_lustre_hsm_us_in_prog_state, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; - proto_tree_add_item(tree, hf_lustre_hsm_us_in_prog_action, tvb, offset, 8, ENC_LITTLE_ENDIAN); + proto_tree_add_item(tree, hf_lustre_hsm_us_in_prog_action, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; offset = dissect_struct_hsm_extent(tvb, offset, tree); @@ -4096,7 +4096,7 @@ dissect_struct_lu_ladvise(tvbuff_t *tvb, int offset, proto_tree *parent_tree) item = proto_tree_add_item(parent_tree, hf_lustre_lu_ladvise, tvb, offset, 32, ENC_NA); tree = proto_item_add_subtree(item, ett_lustre_ladvise); - proto_tree_add_item(tree, hf_lustre_lu_ladvise_advice, tvb, offset, 4, ENC_LITTLE_ENDIAN); + proto_tree_add_item(tree, hf_lustre_lu_ladvise_advice, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; proto_tree_add_item(tree, hf_lustre_lu_ladvise_value1, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; |