Wireshark-bugs: [Wireshark-bugs] [Bug 8794] New: SCSI: Display ett_sense_descriptor label as "Un

Date: Thu, 13 Jun 2013 03:59:10 +0000
Bug ID 8794
Summary SCSI: Display ett_sense_descriptor label as "Unknown (0x%02x)" instead of "unknown"
Classification Unclassified
Product Wireshark
Version SVN
Hardware All
OS All
Status UNCONFIRMED
Severity Enhancement
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Created attachment 10973 [details]
patch

Build Information:
revision 49914


--
When a sense data descriptor code is not in the range 0x00 to 0x0C, the label
of the tree reads "unknown", and one has to expand the descriptor in order to
know the actual type. Compare with standard descriptors that are named in the
label of the tree, and one doesn't have to expand them.

This change is consistent with other uses of val_to_str in packet-scsi.c, that
also display the unknown value when a symbolic string is not available.

- val_to_str_const(desc_type, scsi_sense_desc_type_val, "unknown"));
+ val_to_str(desc_type, scsi_sense_desc_type_val, "Unknown (0x%02x)"));


You are receiving this mail because:
  • You are watching all bug changes.