On Wed, Oct 09, 2002 at 03:26:12PM +0200, Hannes Gredler wrote:
> checked in ...

When adding new DLT_ values, new LINKTYPE_ values and mapping table
entries should be added to "savefile.c" as well.  (What actually goes
into libpcap files are LINKTYPE_ values, not DLT_ values; for all new
DLT_ values, the corresponding LINKTYPE_ value is the same, but for some
older DLT_ values the values might be different on some platforms, as,
in some cases, different BSDs used different values for the same DLT_
#define - the mapping stuff is intended to allow them to keep the same
DLT_ value, for binary compatibility, but to have capture files written
in a format that can be written on a platform with one value for that
DLT_ #define and read correctly on a platform with a *different* value
for that #define).

I've checked in the appropriate change to "savefile.c".
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to