Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] [PATCH] fix NFSv4 stateid parsing

From: "J. Bruce Fields" <bfields@xxxxxxxxxxxx>
Date: Fri, 2 Feb 2007 21:19:31 -0500
Fix an obvious error in the nfs4 stateid parsing.  The stateid is used
in a number of common operations (such as open and setattr), so this caused
a lot of misparsing.
    
Signed-off-by: "J. Bruce Fields" <bfields@xxxxxxxxxxxxxx>

diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c
index eff0d23..ae4c0ab 100644
--- a/epan/dissectors/packet-nfs.c
+++ b/epan/dissectors/packet-nfs.c
@@ -6922,7 +6922,6 @@ dissect_nfs_stateid4(tvbuff_t *tvb, int offset,
 	}
 
 	offset = dissect_rpc_uint32(tvb, newftree, hf_nfs_seqid4, offset);
-	offset+=4;
 
 	proto_tree_add_item(newftree, hf_nfs_stateid4_other, tvb, offset, 12, FALSE);
 	offset+=12;