diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2016-12-19 14:59:39 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-12-21 19:21:15 +0000 |
commit | 5b1b136a29383a70875048e6474e69b486ecb97c (patch) | |
tree | 74199f19d1120e77099ff480b162b12f538fc0d2 /epan/dissectors/packet-rpcrdma.c | |
parent | a5f1afe2b701fcd451645176fca5430429a08ea6 (diff) |
packet-rpcrdma: Fix Reply chunk selection size
When a Reply chunk is not present, selecting the "Reply chunk" in
the protocol tree should also select the four bytes of zeroes in
the header. This should work the same way as for the Read list and
Write list.
Change-Id: I0a9b7f927cad21e39189cfc1f2b619537ba26a30
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-on: https://code.wireshark.org/review/19376
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-rpcrdma.c')
-rw-r--r-- | epan/dissectors/packet-rpcrdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rpcrdma.c b/epan/dissectors/packet-rpcrdma.c index 826604cc92..4ea92abe19 100644 --- a/epan/dissectors/packet-rpcrdma.c +++ b/epan/dissectors/packet-rpcrdma.c @@ -367,7 +367,7 @@ static guint dissect_rpcrdma_reply_chunk(tvbuff_t *tvb, guint offset, chunk_count = get_reply_chunk_count(tvb, offset); item = proto_tree_add_uint_format(tree, hf_rpcordma_reply_count, - tvb, offset, 0, chunk_count, + tvb, offset, 4, chunk_count, "Reply chunk (count: %u)", chunk_count); reply_chunk = proto_item_add_subtree(item, ett_rpcordma_reply_chunk); |