diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-02-22 21:31:49 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-02-22 21:31:49 +0000 |
commit | c786f129c03916657559631c8c4d68ba404cb072 (patch) | |
tree | 7832bd3d677cfa9d42418ff0b7f7ea5c44b51f83 /packet-eap.c | |
parent | c2e21d860b48440e29b8583d9e583eed028ae525 (diff) | |
download | wireshark-c786f129c03916657559631c8c4d68ba404cb072.tar.gz wireshark-c786f129c03916657559631c8c4d68ba404cb072.tar.bz2 wireshark-c786f129c03916657559631c8c4d68ba404cb072.zip |
From Adam Sulmicki: dissect EAP messages inside RADIUS.
svn path=/trunk/; revision=4786
Diffstat (limited to 'packet-eap.c')
-rw-r--r-- | packet-eap.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-eap.c b/packet-eap.c index 6796e49a1e..dc7a64aa41 100644 --- a/packet-eap.c +++ b/packet-eap.c @@ -2,7 +2,7 @@ * Routines for EAP Extensible Authentication Protocol header disassembly, * RFC 2284 * - * $Id: packet-eap.c,v 1.8 2002/02/22 09:52:00 guy Exp $ + * $Id: packet-eap.c,v 1.9 2002/02/22 21:31:48 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -152,6 +152,8 @@ proto_register_eap(void) "EAP", "eap"); proto_register_field_array(proto_eap, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); + + register_dissector("eap", dissect_eap, proto_eap); } void @@ -159,6 +161,6 @@ proto_reg_handoff_eap(void) { dissector_handle_t eap_handle; - eap_handle = create_dissector_handle(dissect_eap, proto_eap); + eap_handle = find_dissector("eap"); dissector_add("ppp.protocol", PPP_EAP, eap_handle); } |