summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ipv6_rtrequest.c
diff options
context:
space:
mode:
authorcmetz <cmetz@openbsd.org>1999-03-09 05:31:50 +0000
committercmetz <cmetz@openbsd.org>1999-03-09 05:31:50 +0000
commit0b10f62c181e0d99aece67b3406c3b597ae0a95a (patch)
tree0ed9da508a7321e2c2f5b444b90c7ac3e260a5d7 /sys/netinet6/ipv6_rtrequest.c
parentAdd support for disabling the processor serial number on the P3. (diff)
downloadwireguard-openbsd-0b10f62c181e0d99aece67b3406c3b597ae0a95a.tar.xz
wireguard-openbsd-0b10f62c181e0d99aece67b3406c3b597ae0a95a.zip
Demangled the INET6 stuff so as not to require any extra options and not to
be mutually exclusive with the IPSEC option.
Diffstat (limited to 'sys/netinet6/ipv6_rtrequest.c')
-rw-r--r--sys/netinet6/ipv6_rtrequest.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/netinet6/ipv6_rtrequest.c b/sys/netinet6/ipv6_rtrequest.c
index 7a62f7c5500..84489c22218 100644
--- a/sys/netinet6/ipv6_rtrequest.c
+++ b/sys/netinet6/ipv6_rtrequest.c
@@ -37,12 +37,15 @@ didn't get a copy, you may request one from <license@ipv6.nrl.navy.mil>.
#include <netinet6/ipv6_var.h>
#include <netinet6/ipv6_icmp.h>
-#ifdef DEBUG_NRL_SYS
+#ifdef DEBUG_NRL
#include <sys/debug.h>
-#endif /* DEBUG_NRL_SYS */
-#ifdef DEBUG_NRL_NETINET6
+#else /* DEBUG_NRL */
+#if __OpenBSD__
#include <netinet6/debug.h>
-#endif /* DEBUG_NRL_NETINET6 */
+#else /* __OpenBSD__ */
+#include <sys/debug.h>
+#endif /* __OpenBSD__ */
+#endif /* DEBUG_NRL */
/*
* Globals (and forward function declarations).