diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-11 10:16:22 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-11 10:16:22 +0000 |
commit | 5fc4cc937d866049fb0e13e96f25c5dcd9af93a8 (patch) | |
tree | 0e0ad61cd4ec3effab574cd1c78e66e5af630df3 /packet-bpdu.c | |
parent | e78e73f9930ba42805c769118e1b9e4e12ed109d (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6915 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-bpdu.c')
-rw-r--r-- | packet-bpdu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-bpdu.c b/packet-bpdu.c index 8cfdf8abc0..292a551f66 100644 --- a/packet-bpdu.c +++ b/packet-bpdu.c @@ -1,7 +1,7 @@ /* packet-bpdu.c * Routines for BPDU (Spanning Tree Protocol) disassembly * - * $Id: packet-bpdu.c,v 1.44 2003/01/11 10:01:51 guy Exp $ + * $Id: packet-bpdu.c,v 1.45 2003/01/11 10:16:22 guy Exp $ * * Copyright 1999 Christophe Tronche <ch.tronche@computer.org> * @@ -34,6 +34,7 @@ #include <epan/packet.h> #include "llcsaps.h" #include "ppptypes.h" +#include "chdlctypes.h" #include <epan/resolv.h> /* Offsets of fields within a BPDU */ @@ -768,5 +769,5 @@ proto_reg_handoff_bpdu(void) bpdu_handle = find_dissector("bpdu"); dissector_add("llc.dsap", SAP_BPDU, bpdu_handle); dissector_add("ppp.protocol", PPP_BPDU, bpdu_handle); - dissector_add("chdlctype", 0x4242, bpdu_handle); + dissector_add("chdlctype", CHDLCTYPE_BPDU, bpdu_handle); } |