Oh, what the heck, write out FDDI and bit-swapped FDDI as the same type

in Sniffer Classic files; there's nothing we can do about those
platforms that bit-swap FDDI addresses before handing them to DLPI or
whatever, so we'll just let people live with wrong FDDI addresses (or
maybe someday put in code to bit-swap them before writing them out to
the capture file).

svn path=/trunk/; revision=4519
This commit is contained in:
Guy Harris 2002-01-11 02:51:31 +00:00
parent a4d560eb5b
commit fc53c2b7b3
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
/* ngsniffer.c
*
* $Id: ngsniffer.c,v 1.69 2001/11/13 23:55:43 gram Exp $
* $Id: ngsniffer.c,v 1.70 2002/01/11 02:51:31 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@ -1119,7 +1119,7 @@ static const int wtap_encap[] = {
0, /* WTAP_ENCAP_TOKEN_RING */
-1, /* WTAP_ENCAP_SLIP -> unsupported */
7, /* WTAP_ENCAP_PPP -> Internetwork analyzer (synchronous) FIXME ! */
-1, /* WTAP_ENCAP_FDDI -> unsupported */
9, /* WTAP_ENCAP_FDDI */
9, /* WTAP_ENCAP_FDDI_BITSWAPPED */
-1, /* WTAP_ENCAP_RAW_IP -> unsupported */
2, /* WTAP_ENCAP_ARCNET */