diff options
author | 1999-10-06 01:46:40 +0000 | |
---|---|---|
committer | 1999-10-06 01:46:40 +0000 | |
commit | 6778dda146301eba84a60040f5d4ce161c551524 (patch) | |
tree | 3a15eff5f66064f75a8a661475d4c890c14e497a /usr.sbin/tcpdump/print-ip.c | |
parent | too soon (diff) | |
download | wireguard-openbsd-6778dda146301eba84a60040f5d4ce161c551524.tar.xz wireguard-openbsd-6778dda146301eba84a60040f5d4ce161c551524.zip |
big endian fixes; ryker, jd@noc7.uchsc.edu
Diffstat (limited to 'usr.sbin/tcpdump/print-ip.c')
-rw-r--r-- | usr.sbin/tcpdump/print-ip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-ip.c b/usr.sbin/tcpdump/print-ip.c index 5aa1930a924..0599e3c9c3c 100644 --- a/usr.sbin/tcpdump/print-ip.c +++ b/usr.sbin/tcpdump/print-ip.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/print-ip.c,v 1.7 1999/09/16 20:58:47 brad Exp $ (LBL)"; + "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/print-ip.c,v 1.8 1999/10/06 01:46:40 deraadt Exp $ (LBL)"; #endif #include <sys/param.h> @@ -73,7 +73,7 @@ struct tr_query { u_int tr_src; /* traceroute source */ u_int tr_dst; /* traceroute destination */ u_int tr_raddr; /* traceroute response address */ -#ifdef WORDS_BIGENDIAN +#if BYTE_ORDER == BIG_ENDIAN struct { u_int ttl : 8; /* traceroute response ttl */ u_int qid : 24; /* traceroute query id */ |