diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-03-10 02:18:19 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-03-10 02:18:19 +0000 |
commit | 887c76aaa65705b7007606df38236c3bfc2eb096 (patch) | |
tree | 7c5db695fc6d0cf9a1e48ecf88b211ced9e7d811 /packet-scsi.c | |
parent | 5ea2269bdc3bb4a66b56fb65259c2177825ef9fb (diff) |
Use SCSI_DEV_BITS for the bits in the peripheral qualifier/peripheral
device type byte used for the device type.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7332 f5534014-38df-0310-8fa8-9805f1628bb7
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}}, |