summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/igrp.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-06 01:46:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-06 01:46:41 +0000
commitaaf7575b9efe6d4fec45928081db200e34f9929a (patch)
tree49f252917f2f591a258e6fcb0fab7c88b6a89581 /usr.sbin/tcpdump/igrp.h
parente45346e40f12bc8137f803e31c367f470180c8e0 (diff)
big endian fixes; ryker, jd@noc7.uchsc.edu
Diffstat (limited to 'usr.sbin/tcpdump/igrp.h')
-rw-r--r--usr.sbin/tcpdump/igrp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/igrp.h b/usr.sbin/tcpdump/igrp.h
index cc6088a8217..02d86e014ba 100644
--- a/usr.sbin/tcpdump/igrp.h
+++ b/usr.sbin/tcpdump/igrp.h
@@ -3,7 +3,7 @@
/* IGRP Header */
struct igrphdr {
-#ifdef WORDS_BIGENDIAN
+#if BYTE_ORDER == BIG_ENDIAN
u_char ig_v:4; /* protocol version number */
u_char ig_op:4; /* opcode */
#else