aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bpdu.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-01-14 08:25:14 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-01-14 08:25:14 +0000
commit6a814d739e781359c0850257bf0bf2463aae94f7 (patch)
tree8aa4ade50167e6d32a08a98a8d73e9d7774f76b5 /packet-bpdu.c
parentdaa78aedf9ee123530c42f79cd8d182c5b280f57 (diff)
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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2896 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-bpdu.c')
-rw-r--r--packet-bpdu.c4
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);
}