Wireshark-dev: [Wireshark-dev] [patch] SCSI SSC reserve/release

From: Patrick vd Lageweg <patrick@xxxxxxxxxxxx>
Date: Thu, 16 Nov 2006 10:16:28 +0100
(Now with patch)

Hi,

The rease/release commands are also usable on SSC devices. This patch adds them to the valid
SSC command.

        Patrick
Index: packet-scsi.c
===================================================================
--- packet-scsi.c	(revision 19908)
+++ packet-scsi.c	(working copy)
@@ -535,6 +535,8 @@
     {SCSI_SPC2_LOGSELECT                   , "Log Select"},
     {SCSI_SPC2_LOGSENSE                    , "Log Sense"},
     {SCSI_SPC2_MODESELECT6                 , "Mode Select(6)"},
+    {SCSI_SPC2_RESERVE6                    , "Reserve(6)"},
+    {SCSI_SPC2_RELEASE6                    , "Release(6)"},
     {SCSI_SPC2_MODESELECT10                , "Mode Select(10)"},
     {SCSI_SPC2_MODESENSE6                  , "Mode Sense(6)"},
     {SCSI_SPC2_MODESENSE10                 , "Mode Sense(10)"},
@@ -5896,8 +5898,8 @@
 /*SSC 0x13*/{NULL},
 /*SSC 0x14*/{NULL},
 /*SPC 0x15*/{dissect_spc3_modeselect6},
-/*SSC 0x16*/{NULL},
-/*SSC 0x17*/{NULL},
+/*SSC 0x16*/{dissect_spc2_reserve6},
+/*SSC 0x17*/{dissect_spc2_release6},
 /*SSC 0x18*/{NULL},
 /*SSC 0x19*/{dissect_ssc2_erase6},
 /*SPC 0x1a*/{dissect_spc3_modesense6},