Ethereal-dev: Re: [ethereal-dev] FTP and POP bugs

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

From: Gilbert Ramirez <gramirez@xxxxxxxxxx>
Date: Fri, 2 Apr 1999 11:27:28 -0600
On Fri, Apr 02, 1999 at 08:09:39AM +0900, Richard Sharpe wrote:
> Hi,
> 
> OK, I have fixed the bugs in FTP and will move onto POP. I added a field to
> the packet_info structure that tells us the payload length of an IP
> datagram and then I check in dissect_tcp for that before calling a dissect
> routine.
> 
> I still have a few little problems in dissect_ftp (some commands do not
> have an argument), so I will fix those, then go back and fix dissect_pop,
> and then look at dissect_udp to ensure it uses the payload field as well.
> 
> Will post some new patches as soon as I have them.

The patches did not apply cleanly. But after a bit of editing, it got
it up and running.

For Solaris 2.6, you'll need an #include <strings.h> in packet-ftp.c
and packet-pop.c. Preferrably:

#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif


--gilbert