Ethereal-dev: Re: [Ethereal-dev] small bugfix for EyeSDN wiretap module

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: Thu, 1 Apr 2004 23:42:04 -0800
On Wed, Mar 31, 2004 at 02:19:34PM +0200, Rolf Fiedler wrote:
> attached you can find a small patch for wiretap/eyesdn.c.

Checked in.

> It fixes a comment (file format description channel field description for an old version)
> and a rather nasty bug in the packet parser. It prevents reading of traces
> with packets larger than 255 bytes and has been unnoticed because D channel
> frames are typically smaller.

You might want to look at the "pntohs()", "pntoh24()", and "pntohl()"
macros in "wiretap/wtap-int.h".