diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-05-24 02:25:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-05-24 02:25:21 +0000 |
commit | 911bad80f01e1a526cb5db6a1c8b67224a0eb6fd (patch) | |
tree | ea0dc09abb3bad519585a3c81e2c1592383a9bc7 /packet-tcap.c | |
parent | 9cccb951f0afece3eb83d45275d903852298839c (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()".
svn path=/trunk/; revision=10982
Diffstat (limited to 'packet-tcap.c')
-rw-r--r-- | packet-tcap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-tcap.c b/packet-tcap.c index 3929ffd049..6c8d00f88f 100644 --- a/packet-tcap.c +++ b/packet-tcap.c @@ -9,7 +9,7 @@ * * (append your name here for newer version) * - * $Id: packet-tcap.c,v 1.10 2004/03/20 07:26:41 guy Exp $ + * $Id: packet-tcap.c,v 1.11 2004/05/24 02:25:19 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -2835,9 +2835,9 @@ proto_register_tcap(void) }; static enum_val_t tcap_options[] = { - { "ITU", ITU_TCAP_STANDARD }, - { "ANSI", ANSI_TCAP_STANDARD }, - { NULL, 0 } + { "itu", "ITU", ITU_TCAP_STANDARD }, + { "ansi", "ANSI", ANSI_TCAP_STANDARD }, + { NULL, NULL, 0 } }; module_t *tcap_module; |