aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-01-29 20:56:20 +0000
committerGuy Harris <guy@alum.mit.edu>2005-01-29 20:56:20 +0000
commit5084ff9f37f29800cc7e1ef317d165ea640fdab6 (patch)
tree26582c7f6ad3150453b9ea0179f941e7d03a7fd4 /epan/dissectors
parent75e4d0a2ce2faf217df7fa82430e60c396b4bd9b (diff)
Treat the command opcodes as SBC-2 for CD-ROMs as well as for block
devices. svn path=/trunk/; revision=13199
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-scsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-scsi.c b/epan/dissectors/packet-scsi.c
index 5a866f6cdf..87a67a730b 100644
--- a/epan/dissectors/packet-scsi.c
+++ b/epan/dissectors/packet-scsi.c
@@ -4354,6 +4354,7 @@ dissect_scsi_cdb (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
*/
switch (devtype) {
case SCSI_DEV_SBC:
+ case SCSI_DEV_CDROM: /* XXX - is this right? */
valstr = match_strval (opcode, scsi_sbc2_val);
cmd = SCSI_CMND_SBC2;
break;