diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-01-14 08:25:14 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-01-14 08:25:14 +0000 |
commit | 691d4f9a0fb78b685db54caa54f58b5b558e76c9 (patch) | |
tree | 8aa4ade50167e6d32a08a98a8d73e9d7774f76b5 /packet-bpdu.c | |
parent | e7d080a8c643c7d1635ece2fbf162c29eefea8a3 (diff) | |
download | wireshark-691d4f9a0fb78b685db54caa54f58b5b558e76c9.tar.gz wireshark-691d4f9a0fb78b685db54caa54f58b5b558e76c9.tar.bz2 wireshark-691d4f9a0fb78b685db54caa54f58b5b558e76c9.zip |
Add the PPP types for the DEC LANBridge100 Spanning Tree protocol and
for "Bridging PDU"s (which I'm assuming are 802.1d Spanning Tree BPDUs),
and have the STP and LANBridge100 STP dissectors register them with the
"ppp.protocol" dissector table.
Fix the value for the PPP type for MPLS Multicast (it's 0x0283, not
0x0281).
svn path=/trunk/; revision=2896
Diffstat (limited to 'packet-bpdu.c')
-rw-r--r-- | packet-bpdu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-bpdu.c b/packet-bpdu.c index db992d9a86..20f9c9e0ab 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.19 2001/01/09 06:31:34 guy Exp $ + * $Id: packet-bpdu.c,v 1.20 2001/01/14 08:25:14 guy Exp $ * * Copyright 1999 Christophe Tronche <ch.tronche@computer.org> * @@ -42,6 +42,7 @@ #include <glib.h> #include "packet.h" #include "llcsaps.h" +#include "ppptypes.h" #include "resolv.h" /* Include this for GVRP dissector */ @@ -326,4 +327,5 @@ void proto_reg_handoff_bpdu(void) { dissector_add("llc.dsap", SAP_BPDU, dissect_bpdu, proto_bpdu); + dissector_add("ppp.protocol", PPP_BPDU, dissect_bpdu, proto_bpdu); } |