From 58b3567ccb9e085f2ca61ccf8e8b90b43d6b2ec8 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Mon, 15 Jul 2013 04:00:20 +0000 Subject: From Cal Turney via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8920 : Changed FATTR4_DISSECT_VALUES arg to FATTR4_BITMAP_ONLY in calls to dissect_nfs4_fattrs() in cases NFS4_OP_OPEN and NFS4_OP_CREATE of dissect_nfs4_response_op(). svn path=/trunk/; revision=50602 --- epan/dissectors/packet-nfs.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'epan/dissectors/packet-nfs.c') diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c index 86c40cc296..6ebe66190f 100644 --- a/epan/dissectors/packet-nfs.c +++ b/epan/dissectors/packet-nfs.c @@ -1277,7 +1277,7 @@ dissect_fhandle_data_SVR4(tvbuff_t* tvb, packet_info *pinfo _U_, proto_tree *tre if (tree) proto_tree_add_boolean(tree, hf_nfs_fh_endianness, tvb, 0, fhlen, little_endian); - + /* We are fairly sure, that when found==FALSE, the following code will throw an exception. */ @@ -1297,7 +1297,7 @@ dissect_fhandle_data_SVR4(tvbuff_t* tvb, packet_info *pinfo _U_, proto_tree *tre temp = tvb_get_ntohl(tvb, fsid_O); fsid_major = ( temp>>18 ) & 0x3fff; /* 14 bits */ fsid_minor = ( temp ) & 0x3ffff; /* 18 bits */ - + if (tree) { proto_item* fsid_item = NULL; proto_tree* fsid_tree = NULL; @@ -2376,7 +2376,7 @@ dissect_fhandle_data(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree * real_length=fhlen; if(default_nfs_fhandle_type != FHT_UNKNOWN && real_length",7) != 0) col_append_fstr(pinfo->cinfo, COL_INFO," %s", tag); - + offset = dissect_nfs4_response_op(tvb, offset, pinfo, tree); if (status != NFS4_OK) @@ -11156,16 +11156,16 @@ proto_register_nfs(void) { &hf_nfs4_want_flags, { "wants", "nfs.want", FT_UINT32, BASE_HEX, VALS(names_open4_share_access), 0, NULL, HFILL }}, - + { &hf_nfs4_want_notify_flags, { "want notification", "nfs.want_notification", FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }}, - + { &hf_nfs4_want_signal_deleg_when_resrc_avail, { "want_signal_deleg_when_resrc_avail", "nfs.want_notification.when_resrc_avail", FT_BOOLEAN, 32, TFS(&tfs_set_notset), OPEN4_SHARE_ACCESS_WANT_SIGNAL_DELEG_WHEN_RESRC_AVAIL, NULL, HFILL }}, - + { &hf_nfs4_want_push_deleg_when_uncontended, { "want_push_deleg_when_uncontended", "nfs.want_push_deleg_when_uncontended", FT_BOOLEAN, 32, -- cgit v1.2.3