From J. Bruce Fields:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 3 Feb 2007 20:31:40 +0000 (20:31 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 3 Feb 2007 20:31:40 +0000 (20:31 +0000)
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20700 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-nfs.c

index f2d4c5590931b868784356f085d7d95f5bb42f8d..7403cc51ecdc70df171e9d2cb148f0bdbe75a57d 100644 (file)
@@ -7150,8 +7150,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;