NFS: fix IO_ADVISE hints mask

Use correct tree for hints mask in IO_ADVISE so it is displayed
properly within the operation.
This commit is contained in:
Jorge Mora 2023-01-18 09:53:43 -07:00
parent 1dac8660fc
commit ae4868f4bd
1 changed files with 2 additions and 2 deletions

View File

@ -10414,7 +10414,7 @@ dissect_nfs4_request_op(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tre
" Offset: %" PRIu64
" Len: %" PRIu64,
sid_hash, file_offset, length64);
offset = dissect_nfs4_io_hints(tvb, offset, pinfo, tree);
offset = dissect_nfs4_io_hints(tvb, offset, pinfo, newftree);
break;
case NFS4_OP_OFFLOAD_CANCEL:
@ -11006,7 +11006,7 @@ dissect_nfs4_response_op(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tr
break;
case NFS4_OP_IO_ADVISE:
offset = dissect_nfs4_io_hints(tvb, offset, pinfo, tree);
offset = dissect_nfs4_io_hints(tvb, offset, pinfo, newftree);
break;
case NFS4_OP_OFFLOAD_STATUS: