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] SCSI persistent reserve out

From: Patrick vd Lageweg <patrick@xxxxxxxxxxxx>
Date: Thu, 25 Jan 2007 12:56:39 +0100
Hi,

The PERSISTENT REVERVE OUT dissectors uses the table of the PERSISTENT REVERVE IN command to decode the Service Action field which is obviously not correct. This patch fixes the problem.

	Patrick
Index: packet-scsi.c
===================================================================
--- packet-scsi.c	(revision 20554)
+++ packet-scsi.c	(working copy)
@@ -3090,7 +3090,7 @@
         return;
 
     if (isreq && iscdb) {
-        proto_tree_add_item (tree, hf_scsi_persresvin_svcaction, tvb, offset,
+        proto_tree_add_item (tree, hf_scsi_persresvout_svcaction, tvb, offset,
                              1, 0);
         proto_tree_add_item (tree, hf_scsi_persresv_scope, tvb, offset+1, 1, 0);
         proto_tree_add_item (tree, hf_scsi_persresv_type, tvb, offset+1, 1, 0);