diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-01-10 09:07:35 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-01-10 09:07:35 +0000 |
commit | 039bd984c0791b345ef12806a24cb5c44cf0e2f7 (patch) | |
tree | 8ada65a0f30fde1bc3c7eb46db802a42af046f93 /packet-cdp.c | |
parent | 2a8ac23dd2b55b88c264312fce9a65f895f71bdd (diff) |
Make the stuff to handle SNAP frames (OUI, PID, payload) a routine of
its own; it's used not only by LLC, but by Frame Relay with RFC 2427 and
ATM with RFC 2684.
Support for RFC 2427-encapsulation Frame Relay packets, from Paul
Ionescu.
Get rid of the CISCO_IP PPP protocol type - Cisco HDLC uses, in most
cases, Ethernet packet types, so use ETHERTYPE_IP instead (they're both
0x0800).
svn path=/trunk/; revision=2854
Diffstat (limited to 'packet-cdp.c')
-rw-r--r-- | packet-cdp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-cdp.c b/packet-cdp.c index f6b7e5902b..e41d188561 100644 --- a/packet-cdp.c +++ b/packet-cdp.c @@ -2,7 +2,7 @@ * Routines for the disassembly of the "Cisco Discovery Protocol" * (c) Copyright Hannes R. Boehm <hannes@boehm.org> * - * $Id: packet-cdp.c,v 1.31 2001/01/09 06:31:34 guy Exp $ + * $Id: packet-cdp.c,v 1.32 2001/01/10 09:07:35 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -525,4 +525,5 @@ void proto_reg_handoff_cdp(void) { dissector_add("llc.cisco_pid", 0x2000, dissect_cdp, proto_cdp); + dissector_add("fr.cisco", 0x2000, dissect_cdp, proto_cdp); } |