diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-04-08 07:55:11 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-04-08 07:55:11 +0000 |
commit | b1bf10bacb0ba3668c99812195dad873c7129255 (patch) | |
tree | a8626d1e31692c07c67552b21da633a3c2441001 /packet-llc.c | |
parent | 42107e86146c473a06a11769ef2f5a8bedc1ef88 (diff) |
The "llc_ctrl_vals[]" value_string table isn't used to generate the
protocol tree text for the control field - that protocol tree entry is
added by "dissect_xdlc_control()", which uses
"proto_tree_add_uint_format()" - and it's not a simple enumerated field
(which is why "proto_tree_add_uint_format()" is used, to more fully
describe the field). Eliminate it.
svn path=/trunk/; revision=1824
Diffstat (limited to 'packet-llc.c')
-rw-r--r-- | packet-llc.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/packet-llc.c b/packet-llc.c index acd96d1f55..59760b95d9 100644 --- a/packet-llc.c +++ b/packet-llc.c @@ -2,7 +2,7 @@ * Routines for IEEE 802.2 LLC layer * Gilbert Ramirez <gramirez@tivoli.com> * - * $Id: packet-llc.c,v 1.49 2000/02/15 21:02:33 gram Exp $ + * $Id: packet-llc.c,v 1.50 2000/04/08 07:55:11 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -167,14 +167,6 @@ static struct sap_info saps[] = { { 0x00, NULL, NULL} }; -static const value_string llc_ctrl_vals[] = { - { 0, "Information Transfer" }, - { 1, "Supervisory" }, - { 2, "Unknown" }, - { 3, "Unnumbered Information" }, - { 0, NULL } -}; - /* * See * @@ -499,7 +491,7 @@ proto_register_llc(void) { &hf_llc_ctrl, { "Control", "llc.control", FT_UINT8, BASE_HEX, - VALS(llc_ctrl_vals), 0x0, "" }}, + NULL, 0x0, "" }}, /* registered here but handled in ethertype.c */ { &hf_llc_type, |