aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bpdu.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-08 20:05:20 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-08 20:05:20 +0000
commit7bd510b2ae7635e33574599460a7aba14fba2150 (patch)
tree3bc7d1e406dd91ca6dd07e32d37bb66868de29ca /packet-bpdu.c
parent3df3bd2333e8c62e12a8de7ef7d16a5c2d146119 (diff)
Update the comment about the length issue to reflect mail from somebody
on the stds-802-1@ieee.org list. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9599 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-bpdu.c')
-rw-r--r--packet-bpdu.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/packet-bpdu.c b/packet-bpdu.c
index 2baaf3ab80..48db6c4502 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.49 2004/01/07 21:14:51 guy Exp $
+ * $Id: packet-bpdu.c,v 1.50 2004/01/08 20:05:20 guy Exp $
*
* Copyright 1999 Christophe Tronche <ch.tronche@computer.org>
*
@@ -347,11 +347,18 @@ dissect_bpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
* Version 3 length representing an integral number, from 0
* to 64 inclusive, of MSTI Configuration Messages".
*
- * It appears that Cisco's C3550 software (C3550-I5Q3L2-M,
- * Version 12.1(12c)EA1) uses the latter interpretation.
+ * According to mail from a member of the stds-802-1@ieee.org
+ * list, item 14.4.e.3 is just saying that the length must
+ * not have a value that implies that there's a partial
+ * MSTI message in the packet, and that it's in units of
+ * bytes, not messages.
*
- * So if the length is too short, we assume it's the latter
- * interpretation.
+ * However, it appears that Cisco's C3550 software
+ * (C3550-I5Q3L2-M, Version 12.1(12c)EA1) might be sending out
+ * lengths in units of messages.
+ *
+ * So if the length is too short, we assume it's because it's
+ * in units of messages, not bytes.
*/
if (version_3_length < VERSION_3_STATIC_LENGTH - 2) {
set_actual_length(tvb, RST_BPDU_SIZE +