diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-08-07 02:54:22 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-08-07 02:54:22 +0000 |
commit | 4eccf968030b77103f2b320c819a0defd56b652b (patch) | |
tree | 1ab3d4012f49972a6c21931acfc7114a3e33ea82 /packet-nfs.c | |
parent | f92f7de8e3a4099a3451235f3fd55e209b116763 (diff) |
From Mike Frisch: fixed LOOKUPP (NFSv4) decoding (previously undefined
operation), added two new NFS4ERR_xxx error codes, and minor fix to ACL
decoding.
svn path=/trunk/; revision=5966
Diffstat (limited to 'packet-nfs.c')
-rw-r--r-- | packet-nfs.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/packet-nfs.c b/packet-nfs.c index 33d4ae8f6f..3623cfdb08 100644 --- a/packet-nfs.c +++ b/packet-nfs.c @@ -2,7 +2,7 @@ * Routines for nfs dissection * Copyright 1999, Uwe Girlich <Uwe.Girlich@philosys.de> * Copyright 2000-2002, Mike Frisch <frisch@hummingbird.com> (NFSv4 decoding) - * $Id: packet-nfs.c,v 1.77 2002/08/06 05:51:13 guy Exp $ + * $Id: packet-nfs.c,v 1.78 2002/08/07 02:54:22 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1634,6 +1634,8 @@ static const value_string names_nfs_stat4[] = { { 10035, "NFS4ERR_RECLAIM_CONFLICT" }, { 10036, "NFS4ERR_BADXDR" }, { 10037, "NFS4ERR_LOCKS_HELD" }, + { 10038, "NFS4ERR_OPENMODE" }, + { 10039, "NFS4ERR_BADOWNER" }, { 0, NULL } }; @@ -5110,8 +5112,8 @@ dissect_nfs_attributes(tvbuff_t *tvb, int offset, packet_info *pinfo, break; case FATTR4_RDATTR_ERROR: - attr_vals_offset = dissect_nfs_nfsstat4(tvb, attr_vals_offset, - attr_newftree, NULL); + attr_vals_offset = dissect_nfs_nfsstat4(tvb, + attr_vals_offset, attr_newftree, NULL); break; case FATTR4_ACL: @@ -5121,7 +5123,8 @@ dissect_nfs_attributes(tvbuff_t *tvb, int offset, packet_info *pinfo, case FATTR4_ACLSUPPORT: attr_vals_offset = dissect_rpc_uint32(tvb, - attr_newftree, hf_nfs_fattr4_aclsupport, offset); + attr_newftree, hf_nfs_fattr4_aclsupport, + attr_vals_offset); break; case FATTR4_ARCHIVE: @@ -5629,6 +5632,7 @@ static const value_string names_nfsv4_operation[] = { { NFS4_OP_LOCKT, "LOCKT" }, { NFS4_OP_LOCKU, "LOCKU" }, { NFS4_OP_LOOKUP, "LOOKUP" }, + { NFS4_OP_LOOKUPP, "LOOKUPP" }, { NFS4_OP_NVERIFY, "NVERIFY" }, { NFS4_OP_OPEN, "OPEN" }, { NFS4_OP_OPENATTR, "OPENATTR" }, |