diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-03-10 02:18:19 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-03-10 02:18:19 +0000 |
commit | cdd02dca54fe674eb9cfe0fffa70efd2604cc0e0 (patch) | |
tree | 7c5db695fc6d0cf9a1e48ecf88b211ced9e7d811 /packet-scsi.c | |
parent | 2a848c34adcc726da9cfb64013004365560b83ee (diff) |
Use SCSI_DEV_BITS for the bits in the peripheral qualifier/peripheral
device type byte used for the device type.
svn path=/trunk/; revision=7332
Diffstat (limited to 'packet-scsi.c')
-rw-r--r-- | packet-scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-scsi.c b/packet-scsi.c index adccd67ae1..e15d9b09df 100644 --- a/packet-scsi.c +++ b/packet-scsi.c @@ -2,7 +2,7 @@ * Routines for decoding SCSI CDBs and responses * Author: Dinesh G Dutt (ddutt@cisco.com) * - * $Id: packet-scsi.c,v 1.26 2003/03/08 08:02:19 guy Exp $ + * $Id: packet-scsi.c,v 1.27 2003/03/10 02:18:19 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -4963,7 +4963,7 @@ proto_register_scsi (void) VALS (scsi_qualifier_val), 0xE0, "", HFILL}}, { &hf_scsi_inq_devtype, {"Peripheral Device Type", "scsi.inquiry.devtype", FT_UINT8, BASE_HEX, - VALS (scsi_devtype_val), 0x1F, "", HFILL}}, + VALS (scsi_devtype_val), SCSI_DEV_BITS, "", HFILL}}, { & hf_scsi_inq_version, {"Version", "scsi.inquiry.version", FT_UINT8, BASE_HEX, VALS (scsi_inquiry_vers_val), 0x0, "", HFILL}}, |