opa-mad: Fixed malformed SA(FabricInfoRecord) reserved field

Change-Id: I1b20a49008e41728cb10cd11765833a762f66505
Reviewed-on: https://code.wireshark.org/review/18603
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Adam Goldman 2016-11-01 10:24:48 -04:00 committed by Anders Broman
parent 963bd67901
commit e1454337df
1 changed files with 2 additions and 2 deletions

View File

@ -4301,7 +4301,7 @@ static gint parse_FabricInfoRecord(proto_tree *parentTree, tvbuff_t *tvb, gint *
local_offset += 4;
proto_tree_add_item(FabricInfoRecord_header_tree, hf_opa_FabricInfoRecord_NumOmittedISLs, tvb, local_offset, 4, ENC_BIG_ENDIAN);
local_offset += 4;
proto_tree_add_item(FabricInfoRecord_header_tree, hf_opa_FabricInfoRecord_Reserved, tvb, local_offset, 92, ENC_BIG_ENDIAN);
proto_tree_add_item(FabricInfoRecord_header_tree, hf_opa_FabricInfoRecord_Reserved, tvb, local_offset, 92, ENC_NA);
local_offset += 92;
return local_offset;
@ -10363,7 +10363,7 @@ void proto_register_opa_mad(void)
},
{ &hf_opa_FabricInfoRecord_Reserved, {
"Reserved (92 Bytes)", "opa.fabricinforecord.reserved",
FT_UINT32, BASE_HEX, NULL, 0x0, NULL, HFILL }
FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }
},
/*****************