Ethereal-dev: Re: [Ethereal-dev] [patch] interpret codes for FTP

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

From: Brad Hards <bhards@xxxxxxxxxxxxxx>
Date: Wed, 26 Feb 2003 17:57:58 +1100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 26 Feb 2003 06:28, Guy Harris wrote:
> On Tue, Feb 25, 2003 at 06:53:20PM +1100, Brad Hards wrote:
> > The attached patch provides a textual interpretation for the various FTP
> > response codes, based on the list in RFC 959. I also did some minor
> > cleanups to the same area.
> >
> > Please review and apply, as appropriate.
>
> I've checked in a version that uses a value_string table for the
> "hf_ftp_response_code" field, so that
>
> 	1) the entry in the protocol tree for the response code is an
> 	   entry for that field rather than a text entry (so that you
> 	   can, for example, use the "Match" and "Prepare" menu items);
>
> 	2) that field has a value/description table associated with it
> 	   (so you can use it when constructing a filter).
Urgh, I remember reading about VAL() construction, and still didn't twig to 
it. I'll remember that one for the future - thanks.

Brad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+XGV2W6pHgIdAuOMRAsIUAJ9eRU6dxYt9ibUHbG12RYjGmcDLGgCgrzho
W0WSMRz+Z3mhL2IiR+7+TGc=
=cELE
-----END PGP SIGNATURE-----