aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bpdu.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2006-09-12 12:58:16 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2006-09-12 12:58:16 +0000
commit593efe3509b56eca787c18c799b80aa61448d6e9 (patch)
tree19e4b97b6eaee61f85810d317bcdc14b9436a71f /epan/dissectors/packet-bpdu.c
parent4919409df7c5698ecee34e68611383d2203e125e (diff)
Fix for bug 1098. Add BPDU dissector to ethertype 0x8181.
svn path=/trunk/; revision=19211
Diffstat (limited to 'epan/dissectors/packet-bpdu.c')
-rw-r--r--epan/dissectors/packet-bpdu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-bpdu.c b/epan/dissectors/packet-bpdu.c
index 769a7863e9..837c474127 100644
--- a/epan/dissectors/packet-bpdu.c
+++ b/epan/dissectors/packet-bpdu.c
@@ -35,6 +35,7 @@
#include <epan/llcsaps.h>
#include <epan/ppptypes.h>
#include <epan/chdlctypes.h>
+#include <epan/etypes.h>
#include <epan/addr_resolv.h>
/* Offsets of fields within a BPDU */
@@ -802,4 +803,5 @@ proto_reg_handoff_bpdu(void)
dissector_add("llc.dsap", SAP_BPDU, bpdu_handle);
dissector_add("chdlctype", CHDLCTYPE_BPDU, bpdu_handle);
dissector_add("llc.cisco_pid", 0x010b, bpdu_handle);
+ dissector_add("ethertype", ETHERTYPE_STP, bpdu_handle);
}