summaryrefslogtreecommitdiffstats
path: root/sys/net/pfkeyv2_parsemessage.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/net/pfkeyv2_parsemessage.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/net/pfkeyv2_parsemessage.c')
-rw-r--r--sys/net/pfkeyv2_parsemessage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfkeyv2_parsemessage.c b/sys/net/pfkeyv2_parsemessage.c
index ba3b743a286..ba37529a67d 100644
--- a/sys/net/pfkeyv2_parsemessage.c
+++ b/sys/net/pfkeyv2_parsemessage.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2_parsemessage.c,v 1.42 2007/07/30 11:43:59 hshoexer Exp $ */
+/* $OpenBSD: pfkeyv2_parsemessage.c,v 1.43 2008/10/22 23:04:45 mpf Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) 17 January 1995
@@ -557,7 +557,7 @@ pfkeyv2_parsemessage(void *p, int len, void **headers)
}
}
break;
-#if INET6
+#ifdef INET6
case AF_INET6:
if (i != sizeof(struct sadb_address) +
PADUP(sizeof(struct sockaddr_in6))) {