Ethereal-dev: [Ethereal-dev] Re: your mail

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 5 Jan 2004 09:27:59 -0800
On Mon, Jan 05, 2004 at 08:42:55AM +0200, Alex Rozin wrote:
> I tried to debug my MSTP implementation by Ethereal and
> saw, that my MST BPDUs are considered as *malformed
> packets*.
> I investigated a problem, exploring the code
> (fortunately I know it a little - I was a person, who wrote RSTP
> support, as Alex Ruzin <alexr[AT]nbase.co.il>, Revision 1.32,
> Wed Feb 27 10:03:08 2002 UTC).
> It seems, that a current version has a bug in packet-bpdu.c
> I fixed it as far as I can; attached is a patch for ethereal-0.10.0

Checked in, with "length" set to "tvb_reported_length_remaining(tvb, offset)"
after setting "offset" to BPDU_MSTI; that's a bit simpler, and also uses
the reported length of the tvbuff (i.e., the packet length) rather than
the data length (i.e., the amount of packet data captured), so that
BPDUs are marked as short frames if captured with a snapshot length that
doesn't capture all the packet data.

I also updated your e-mail address.