Ethereal-dev: Re: [Ethereal-dev] MySQL dissector patch

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sun, 19 Jan 2003 13:30:46 -0800
On Sun, Jan 19, 2003 at 12:41:01AM -0800, Huagang Xie wrote:
> Here is the MySQL dissector which work pretty well on my system. 

Checked in, with a change to use "tvb_reported_length_remaining()" in
the loop (so that it throws an exception and reports a short frame if
the capture was done with a snapshot length less than the length of some
packet), to use "tvb_ensure_length_remaining()" to find out how much
data is left in the frame (in order to throw that exception), and with
an update to "Makefile.nmake" as well as "Makefile.am" (so that it's
included if you compile with Microsoft Visual C++).

Attachment: pgp_pYx30Nq30.pgp
Description: PGP signature