Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-scsi.c packet-scsi.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 8 Mar 2003 02:02:21 -0600 (CST)
guy         2003/03/08 02:02:21 CST

  Modified files:
    .                    packet-scsi.c packet-scsi.h 
  Log:
  Treat the Peripheral Qualifier field the same way we treat the
  Peripheral Device Type field, i.e. as a registered field that's a
  bitfield with a value_string table.  Give it the correct bitmask.
  
  Fix up some device type names, and add some additional ones from the 25
  July 2002 SPC-3 draft.
  
  Correctly adjust the length of the LUN list in the Report LUNs response
  (subtract 8 from the payload length before comparing, don't subtract 8
  from the resulting length after comparing and adjusting), and rename the
  variable to reflect the fact that it's a length in bytes, not a number
  of LUNs.
  
  Revision  Changes    Path
  1.26      +30 -19    ethereal/packet-scsi.c
  1.7       +2 -1      ethereal/packet-scsi.h