summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-02 05:25:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-02 05:25:55 +0000
commit0915e855646867551b9e2a8a3bd2d410ae0848b2 (patch)
treed6a5400085f985507818de65aa27227b44567f36 /usr.sbin
parent2752d6fe6b16974f092a7ef8779d83224790bcee (diff)
fddi byte order for addresses; matt
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/tcpdump/print-fddi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-fddi.c b/usr.sbin/tcpdump/print-fddi.c
index 5c0d7465e24..b6095d7085d 100644
--- a/usr.sbin/tcpdump/print-fddi.c
+++ b/usr.sbin/tcpdump/print-fddi.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-fddi.c,v 1.6 1997/07/25 20:12:24 mickey Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-fddi.c,v 1.7 1998/06/02 05:25:54 deraadt Exp $ (LBL)";
#endif
#ifdef HAVE_FDDI
@@ -58,7 +58,8 @@ struct rtentry;
/*
* Some FDDI interfaces use bit-swapped addresses.
*/
-#if defined(ultrix) || defined(__alpha)
+#if defined(ultrix) || defined(__alpha) || defined(__bsdi) || \
+ defined(__NetBSD__) || defined(__OpenBSD__)
int fddi_bitswap = 0;
#else
int fddi_bitswap = 1;