packet-nfs: enable nfs4.lock_owner4

Change-Id: I32e718a8ef94b514fd2907651e2f9bd92d8119ef
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Reviewed-on: https://code.wireshark.org/review/14627
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Benjamin Coddington 2016-03-25 10:50:19 -04:00 committed by Michael Mann
parent 731c383f5f
commit d3b86727e9
1 changed files with 2 additions and 4 deletions

View File

@ -462,7 +462,7 @@ static int hf_nfs4_count_dircount = -1;
static int hf_nfs4_count_maxcount = -1;
static int hf_nfs4_minorversion = -1;
static int hf_nfs4_open_owner = -1;
/* static int hf_nfs4_lock_owner = -1; */
static int hf_nfs4_lock_owner = -1;
static int hf_nfs4_new_lock_owner = -1;
static int hf_nfs4_sec_oid = -1;
static int hf_nfs4_qop = -1;
@ -6160,7 +6160,7 @@ dissect_nfs4_lock_owner(tvbuff_t *tvb, int offset, proto_tree *tree)
newftree = proto_tree_add_subtree(tree, tvb, offset, 4, ett_nfs4_lock_owner, NULL, "Owner");
offset = dissect_rpc_uint64(tvb, newftree, hf_nfs4_clientid, offset);
offset = dissect_nfsdata(tvb, offset, newftree, hf_nfs_data);
offset = dissect_nfsdata(tvb, offset, newftree, hf_nfs4_lock_owner);
return offset;
}
@ -12358,11 +12358,9 @@ proto_register_nfs(void)
"owner", "nfs.open_owner4", FT_BYTES, BASE_NONE,
NULL, 0, NULL, HFILL }},
#if 0
{ &hf_nfs4_lock_owner, {
"owner", "nfs.lock_owner4", FT_BYTES, BASE_NONE,
NULL, 0, NULL, HFILL }},
#endif
{ &hf_nfs4_createmode, {
"Create Mode", "nfs.createmode4", FT_UINT32, BASE_DEC,