From 039bd984c0791b345ef12806a24cb5c44cf0e2f7 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 10 Jan 2001 09:07:35 +0000 Subject: 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 --- packet-cdp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packet-cdp.c') 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 * - * $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 @@ -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); } -- cgit v1.2.3