Ethereal-dev: Re: [ethereal-dev] Re: Sniffer 3.50 file format

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Fri, 23 Jun 2000 22:16:53 -0700
On Thu, Jun 22, 2000 at 11:20:38PM +0200, Joerg Mayer wrote:
> when I read Sniffer I thought about NG, not Netxray. Nevertheless, it seems
> the only thing that needed doing was adding the new version to the list of
> supported file formats. The attached patch makes tethereal -r ... work. I'm
> not completely happy with this solution as it will add identical cases (and
> wtap formats) as time goes by but it's better than no support.

The general philosophy with Wiretap is that a new capture file type
should be added for a new version of an existing file type only if the
new version requires that the reader (and writer, if there's a writer)
has to read the new version differently.

It looks, from your patch, as if the new format doesn't change anything
we currently do, so I'm inclined to rename "WTAP_FILE_NETXRAY_2_001" to
"WTAP_FILE_NETXRAY_2_00x" for now, and use it both for 2.001 and 2.002.