aboutsummaryrefslogtreecommitdiffstats
path: root/packet-llc.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2000-04-10 14:45:30 +0000
committerGerald Combs <gerald@wireshark.org>2000-04-10 14:45:30 +0000
commita42b1820e4a35f6fee3aec4193331b319943ab5a (patch)
tree4925e141c32ff0ee9beddfddb46d98cb8fc42024 /packet-llc.c
parentcd3eccbef8e046dfe6d3432e0704fa890236c4ca (diff)
downloadwireshark-a42b1820e4a35f6fee3aec4193331b319943ab5a.tar.gz
wireshark-a42b1820e4a35f6fee3aec4193331b319943ab5a.tar.bz2
wireshark-a42b1820e4a35f6fee3aec4193331b319943ab5a.zip
Add DOCSIS BPDU patch from Johannes Hennecke <Johannes.Hennecke@elsa.de>.
svn path=/trunk/; revision=1826
Diffstat (limited to 'packet-llc.c')
-rw-r--r--packet-llc.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/packet-llc.c b/packet-llc.c
index 9baff41bf6..86e5e61c36 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.51 2000/04/09 18:33:26 guy Exp $
+ * $Id: packet-llc.c,v 1.52 2000/04/10 14:45:30 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -184,6 +184,7 @@ http://www.cisco.com/univercd/cc/td/doc/product/software/ios113ed/113ed_cr/ibm_r
{ OUI_BFR, "Bridged Frame-Relay" }, /* RFC 2427 */
{ OUI_ATM_FORUM, "ATM Forum" },
{ OUI_APPLE_ATALK, "Apple (AppleTalk)" },
+ { OUI_CABLE_BPDU, "DOCSIS Spanning Tree" }, /* DOCSIS spanning tree BPDU */
{ 0, NULL }
};
@@ -427,6 +428,14 @@ dissect_llc(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
dissect_data(pd, offset+8, fd, tree);
break;
+ case OUI_CABLE_BPDU: /* DOCSIS cable modem spanning tree BPDU */
+ if (tree) {
+ proto_tree_add_item(llc_tree,
+ hf_llc_pid, offset+6, 2, etype);
+ }
+ dissect_bpdu(pd, offset+8, fd, tree);
+ break;
+
default:
if (tree) {
proto_tree_add_item(llc_tree,