aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dec-bpdu.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-03-19 08:47:11 +0000
committerGuy Harris <guy@alum.mit.edu>2002-03-19 08:47:11 +0000
commit99c86dd9b17f81ae6b6094152fa33430cc040c9b (patch)
tree55f5e63de086f6659632aa8b28acd5e307ba383a /packet-dec-bpdu.c
parentaf914f5a74c9ba7c24fe5f218d8d8e468c6783bb (diff)
The protocol ID is an 8-bit field in the DEC spanning tree protocol.
svn path=/trunk/; revision=4975
Diffstat (limited to 'packet-dec-bpdu.c')
-rw-r--r--packet-dec-bpdu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-dec-bpdu.c b/packet-dec-bpdu.c
index be50b25bb4..a41a710612 100644
--- a/packet-dec-bpdu.c
+++ b/packet-dec-bpdu.c
@@ -1,7 +1,7 @@
/* packet-dec-bpdu.c
* Routines for DEC BPDU (DEC Spanning Tree Protocol) disassembly
*
- * $Id: packet-dec-bpdu.c,v 1.11 2002/03/19 08:44:41 guy Exp $
+ * $Id: packet-dec-bpdu.c,v 1.12 2002/03/19 08:47:11 guy Exp $
*
* Copyright 2001 Paul Ionescu <paul@acorp.ro>
*
@@ -216,7 +216,7 @@ proto_register_dec_bpdu(void)
static hf_register_info hf[] = {
{ &hf_dec_bpdu_proto_id,
{ "Protocol Identifier", "dec_stp.protocol",
- FT_UINT16, BASE_HEX, VALS(&protocol_id_vals), 0x0,
+ FT_UINT8, BASE_HEX, VALS(&protocol_id_vals), 0x0,
"", HFILL }},
{ &hf_dec_bpdu_type,
{ "BPDU Type", "dec_stp.type",