Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] [Patch] SCSI persistent reserve in - service action

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Patrick vd Lageweg <patrick@xxxxxxxxxxxx>
Date: Thu, 1 Feb 2007 11:26:03 +0100

Hi all,

In the PERSISTENT RESERVE IN command the service action is located on offset 0 and not 1.

	Patrick
Index: epan/dissectors/packet-scsi.c
===================================================================
--- epan/dissectors/packet-scsi.c	(revision 20666)
+++ epan/dissectors/packet-scsi.c	(working copy)
@@ -3038,7 +3038,7 @@
                                     "Vendor Unique = %u, NACA = %u, Link = %u",
                                     flags & 0xC0, flags & 0x4, flags & 0x1);
         /* We store the service action since we want to interpret the data */
-        cdata->itlq->flags = tvb_get_guint8 (tvb, offset+1);
+        cdata->itlq->flags = tvb_get_guint8 (tvb, offset);
     }
     else {
         if (cdata) {
  • Follow-Ups:
    • Re: [Wireshark-dev] [Patch] SCSI persistent reserve in - service action
      • From: ronnie sahlberg
  • Prev by Date: [Wireshark-dev] Controlling Tshark output format
  • Next by Date: [Wireshark-dev] Is anyone looking at current build breakage?
  • Previous by thread: Re: [Wireshark-dev] Controlling Tshark output format
  • Next by thread: Re: [Wireshark-dev] [Patch] SCSI persistent reserve in - service action
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation