diff options
Diffstat (limited to 'packet-eapol.c')
-rw-r--r-- | packet-eapol.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/packet-eapol.c b/packet-eapol.c index 7c045d0d2a..b1a24869ca 100644 --- a/packet-eapol.c +++ b/packet-eapol.c @@ -3,22 +3,22 @@ * (From IEEE Draft P802.1X/D11; is there a later draft, or a * final standard? If so, check it.) * - * $Id: packet-eapol.c,v 1.11 2002/08/02 23:35:49 jmayer Exp $ + * $Id: packet-eapol.c,v 1.12 2002/08/28 21:00:13 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> * Copyright 1998 Gerald Combs - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -62,7 +62,7 @@ static dissector_handle_t data_handle; #define EAPOL_KEY 3 #define EAPOL_ENCAP_ASF_ALERT 4 -static const value_string eapol_type_vals[] = { +static const value_string eapol_type_vals[] = { { EAP_PACKET, "EAP Packet" }, { EAPOL_START, "Start" }, { EAPOL_LOGOFF, "Logoff" }, @@ -175,11 +175,11 @@ void proto_register_eapol(void) { static hf_register_info hf[] = { - { &hf_eapol_version, { - "Version", "eapol.version", FT_UINT8, BASE_DEC, + { &hf_eapol_version, { + "Version", "eapol.version", FT_UINT8, BASE_DEC, NULL, 0x0, "", HFILL }}, - { &hf_eapol_type, { - "Type", "eapol.type", FT_UINT8, BASE_DEC, + { &hf_eapol_type, { + "Type", "eapol.type", FT_UINT8, BASE_DEC, VALS(eapol_type_vals), 0x0, "", HFILL }}, { &hf_eapol_len, { "Length", "eapol.len", FT_UINT16, BASE_DEC, |