IWARP_DDP_RDMAP: fix error codes for RDMA layer

Display the error code name only if it is not an RDMA Local
Catastrophic error type.
This commit is contained in:
Jorge Mora 2022-04-05 16:35:31 -06:00 committed by A Wireshark GitLab Utility
parent d4cfae1b72
commit 6630bee851
1 changed files with 2 additions and 2 deletions

View File

@ -374,8 +374,8 @@ dissect_iwarp_rdmap(tvbuff_t *tvb, proto_tree *rdma_tree, guint32 offset,
ENC_BIG_ENDIAN);
offset += 1;
proto_tree_add_item(term_ctrl_field_tree,
hf_iwarp_rdma_term_errcode_rdma, tvb, offset, 1,
ENC_BIG_ENDIAN);
etype ? hf_iwarp_rdma_term_errcode_rdma : hf_iwarp_rdma_term_errcode,
tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
break;
case IWARP_LAYER_DDP: