summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ipsec_input.c
diff options
context:
space:
mode:
authormpf <mpf@openbsd.org>2008-10-22 23:04:45 +0000
committermpf <mpf@openbsd.org>2008-10-22 23:04:45 +0000
commit2d8f58fe925ca531134a94e0ae721dac128784d3 (patch)
treeb556dd7f68e837b3db2cd261abcf9fbee4fe5ee9 /sys/netinet/ipsec_input.c
parentFix a typo with the VLAN code. (diff)
downloadwireguard-openbsd-2d8f58fe925ca531134a94e0ae721dac128784d3.tar.xz
wireguard-openbsd-2d8f58fe925ca531134a94e0ae721dac128784d3.zip
#if INET => #ifdef INET
#if INET6 => #ifdef INET6
Diffstat (limited to 'sys/netinet/ipsec_input.c')
-rw-r--r--sys/netinet/ipsec_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ipsec_input.c b/sys/netinet/ipsec_input.c
index 1e68064402c..3fbc250574e 100644
--- a/sys/netinet/ipsec_input.c
+++ b/sys/netinet/ipsec_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsec_input.c,v 1.90 2008/10/22 14:36:08 markus Exp $ */
+/* $OpenBSD: ipsec_input.c,v 1.91 2008/10/22 23:04:45 mpf Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -362,7 +362,7 @@ ipsec_common_input_cb(struct mbuf *m, struct tdb *tdbp, int skip, int protoff,
}
}
-#if INET6
+#ifdef INET6
/* IPv6-in-IP encapsulation. */
if (prot == IPPROTO_IPV6) {
if (m->m_pkthdr.len - skip < sizeof(struct ip6_hdr)) {