diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-01-11 10:16:22 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-01-11 10:16:22 +0000 |
commit | 68799ac1cd2448d3d067c94da7a97ebd186d5862 (patch) | |
tree | 0e0ad61cd4ec3effab574cd1c78e66e5af630df3 /packet-chdlc.c | |
parent | d6f3718f0797184b50f083343c6ce53b62c523a4 (diff) |
Add a new "chdlctypes.h" file for Cisco HDLC type values that aren't
just Ethernet type values. Move the type value for ISO network-layer
protocols there, and put the type value for IEEE spanning tree there as
well, use that value in the BPDU dissector, and add an item to the CHDLC
dissector for it.
svn path=/trunk/; revision=6915
Diffstat (limited to 'packet-chdlc.c')
-rw-r--r-- | packet-chdlc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-chdlc.c b/packet-chdlc.c index 2ccd0747fd..5fed9aa547 100644 --- a/packet-chdlc.c +++ b/packet-chdlc.c @@ -1,7 +1,7 @@ /* packet-chdlc.c * Routines for Cisco HDLC packet disassembly * - * $Id: packet-chdlc.c,v 1.17 2003/01/06 22:10:49 guy Exp $ + * $Id: packet-chdlc.c,v 1.18 2003/01/11 10:16:22 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -29,6 +29,7 @@ #include <glib.h> #include <epan/packet.h> #include "etypes.h" +#include "chdlctypes.h" #include <epan/resolv.h> #include "packet-chdlc.h" #include "packet-ip.h" @@ -90,11 +91,12 @@ const value_string chdlc_vals[] = { {ETHERTYPE_IP, "IP"}, {CISCO_SLARP, "SLARP"}, {ETHERTYPE_DEC_LB, "DEC LanBridge"}, + {CHDLCTYPE_BPDU, "Spanning Tree BPDU"}, {ETHERTYPE_ATALK, "Appletalk"}, {ETHERTYPE_AARP, "AARP"}, {ETHERTYPE_IPX, "Netware IPX/SPX"}, {ETHERTYPE_ETHBRIDGE, "Transparent Ethernet bridging" }, - {ETHERTYPE_OSI, "OSI" }, + {CHDLCTYPE_OSI, "OSI" }, {0, NULL} }; |