diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-02-22 21:31:49 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-02-22 21:31:49 +0000 |
commit | 11e927db6274a5c57786233afe8309d438c4ec62 (patch) | |
tree | 7832bd3d677cfa9d42418ff0b7f7ea5c44b51f83 /packet-eap.c | |
parent | ddf6bbfacd42104e237c92ee0cadd9081d3c5292 (diff) |
From Adam Sulmicki: dissect EAP messages inside RADIUS.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4786 f5534014-38df-0310-8fa8-9805f1628bb7
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); } |