aboutsummaryrefslogtreecommitdiffstats
path: root/packet-llc.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2000-01-22 21:49:50 +0000
committerGerald Combs <gerald@wireshark.org>2000-01-22 21:49:50 +0000
commit42d68156a9599948fb0c5c633efc9d61548d5a5b (patch)
tree51c9c328d8d55db7474dd3e1d3d578b69cbd42f4 /packet-llc.c
parent287efcbbe7b22f760c0af5083b7df24312ef695e (diff)
Merge Paul Ionescu's CDP fixes with Guy's. Add #defines to oui.h for Cisco
IOS 9.0 and bridged frame relay and update packet-llc.c accordingly. Add CDP handler to capture_llc() in packet-llc.c. svn path=/trunk/; revision=1524
Diffstat (limited to 'packet-llc.c')
-rw-r--r--packet-llc.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/packet-llc.c b/packet-llc.c
index 66aa6fc356..ccf7b19306 100644
--- a/packet-llc.c
+++ b/packet-llc.c
@@ -2,7 +2,7 @@
* Routines for IEEE 802.2 LLC layer
* Gilbert Ramirez <gramirez@tivoli.com>
*
- * $Id: packet-llc.c,v 1.39 2000/01/12 20:00:19 guy Exp $
+ * $Id: packet-llc.c,v 1.40 2000/01/22 21:49:50 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -36,6 +36,7 @@
#include "packet.h"
#include "oui.h"
#include "xdlc.h"
+#include "etypes.h"
static int proto_llc = -1;
static int hf_llc_dsap = -1;
@@ -157,8 +158,8 @@ const value_string oui_vals[] = {
http://www.cisco.com/univercd/cc/td/doc/product/software/ios113ed/113ed_cr/ibm_r/brprt1/brsrb.htm
*/
{ OUI_CISCO, "Cisco" },
- { 0x0000f8, "Cisco 90-Compatible" },
- { 0x0080c2, "Bridged Frame-Relay" }, /* RFC 2427 */
+ { OUI_CISCO_90, "Cisco IOS 9.0 Compatible" },
+ { OUI_BFR, "Bridged Frame-Relay" }, /* RFC 2427 */
{ OUI_ATM_FORUM, "ATM Forum" },
{ OUI_APPLE_ATALK, "Apple (AppleTalk)" },
{ 0, NULL }
@@ -250,7 +251,10 @@ capture_llc(const u_char *pd, int offset, guint32 cap_len, packet_counts *ld) {
capture_ethertype(etype, offset+8, pd,
cap_len, ld);
break;
-
+ case OUI_CISCO:
+ capture_ethertype(etype,
+ offset + 8, pd, cap_len, ld);
+ break;
default:
ld->other++;
break;