summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-01-22 04:31:22 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-01-22 04:31:22 +0000
commit4a76ad7686a2a0f5e3084ae27a6022fb1662c188 (patch)
tree0660ff4efd33c4e620cab58b62f59763fdc19c0a
parent2272f1a4842f71ff58802eb9c575b710931a9aa9 (diff)
fix router renumbering bit decl for little endian. KAME PR 320
-rw-r--r--sys/netinet/icmp6.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/icmp6.h b/sys/netinet/icmp6.h
index 4a6ed184469..5a62d382e9a 100644
--- a/sys/netinet/icmp6.h
+++ b/sys/netinet/icmp6.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: icmp6.h,v 1.13 2001/01/21 15:42:35 itojun Exp $ */
-/* $KAME: icmp6.h,v 1.31 2001/01/21 15:32:16 itojun Exp $ */
+/* $OpenBSD: icmp6.h,v 1.14 2001/01/22 04:31:21 itojun Exp $ */
+/* $KAME: icmp6.h,v 1.32 2001/01/22 02:26:00 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -445,8 +445,8 @@ struct rr_result { /* router renumbering result message */
#define ICMP6_RR_RESULT_FLAGS_OOB 0x0002
#define ICMP6_RR_RESULT_FLAGS_FORBIDDEN 0x0001
#elif BYTE_ORDER == LITTLE_ENDIAN
-#define ICMP6_RR_RESULT_FLAGS_OOB 0x02
-#define ICMP6_RR_RESULT_FLAGS_FORBIDDEN 0x01
+#define ICMP6_RR_RESULT_FLAGS_OOB 0x0200
+#define ICMP6_RR_RESULT_FLAGS_FORBIDDEN 0x0100
#endif
/*