aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-infiniband.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-09-23 23:01:15 -0700
committerGuy Harris <guy@alum.mit.edu>2017-09-24 06:01:49 +0000
commit12684c7e4eb78a0ed665e09c4a7f6d9c454a932d (patch)
tree438f53c72284be643e13e295354dd01092991703 /epan/dissectors/packet-infiniband.c
parente345d19b95adf0af37949c866636cd8381451095 (diff)
Don't use proto_tree_add_uint() with FT_BYTES.
Change-Id: Ic647f39824e3d18a1a8d1aaef997ccd41db445c0 Reviewed-on: https://code.wireshark.org/review/23667 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-infiniband.c')
-rw-r--r--epan/dissectors/packet-infiniband.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-infiniband.c b/epan/dissectors/packet-infiniband.c
index 30d4775d70..ff3b1de58f 100644
--- a/epan/dissectors/packet-infiniband.c
+++ b/epan/dissectors/packet-infiniband.c
@@ -2863,7 +2863,7 @@ static gboolean dissect_eth_over_ib(tvbuff_t *tvb, packet_info *pinfo, proto_tre
PAYLOAD_header_tree = proto_item_add_subtree(PAYLOAD_header_item, ett_payload);
proto_tree_add_uint(PAYLOAD_header_tree, hf_infiniband_etype, tvb, 0, 2, etype);
- proto_tree_add_uint(PAYLOAD_header_tree, hf_infiniband_reserved, tvb, 2, 2, reserved);
+ proto_tree_add_item(PAYLOAD_header_tree, hf_infiniband_reserved, tvb, 2, 2, ENC_NA);
}
return dissector_found;