aboutsummaryrefslogtreecommitdiffstats
path: root/packet-scsi.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-05-24 02:25:21 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-05-24 02:25:21 +0000
commit19543e35901862a33b72ca7db78717d3e2673d53 (patch)
treeea0dc09abb3bad519585a3c81e2c1592383a9bc7 /packet-scsi.c
parentd55e2cbd95c2ea0ea9d3e63ff40d3f1db8aabf49 (diff)
Have two strings in an enum_val_t - one that's a short string that is
convenient to put into a command line (no capital letters, no spaces to require quotes), and one that's a detailed description for use in the UI. Allow either of them in the preferences file or "-o" option; use the detailed description in the UI, and also use it when writing the preferences out, so that the preference will be readable by older versions of Ethereal (assuming the preference existed in that version). Update "README.developer" to give more detail about an enum_val_t (and to put the _t in), and to give a more detailed description of the "radio_buttons" argument to "prefs_register_enum_preference()". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10982 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-scsi.c')
-rw-r--r--packet-scsi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-scsi.c b/packet-scsi.c
index 884c1a48f0..30b3230b21 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.37 2004/05/13 21:56:19 gerald Exp $
+ * $Id: packet-scsi.c,v 1.38 2004/05/24 02:25:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -644,9 +644,9 @@ static const value_string scsi_devtype_val[] = {
};
static const enum_val_t scsi_devtype_options[] = {
- {"Block Device", SCSI_DEV_SBC},
- {"Sequential Device", SCSI_DEV_SSC},
- {NULL, -1},
+ {"block", "Block Device", SCSI_DEV_SBC},
+ {"sequential", "Sequential Device", SCSI_DEV_SSC},
+ {NULL, NULL, -1},
};
static const value_string scsi_inquiry_vers_val[] = {