summaryrefslogtreecommitdiffstats
path: root/sys/net
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
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')
-rw-r--r--sys/net/if_ppp.c4
-rw-r--r--sys/net/if_sl.c4
-rw-r--r--sys/net/if_strip.c4
-rw-r--r--sys/net/pfkeyv2_convert.c4
-rw-r--r--sys/net/pfkeyv2_parsemessage.c4
5 files changed, 10 insertions, 10 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c
index c8175bf1511..c535f9cac30 100644
--- a/sys/net/if_ppp.c
+++ b/sys/net/if_ppp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ppp.c,v 1.51 2008/09/17 20:10:37 chl Exp $ */
+/* $OpenBSD: if_ppp.c,v 1.52 2008/10/22 23:04:45 mpf Exp $ */
/* $NetBSD: if_ppp.c,v 1.39 1997/05/17 21:11:59 christos Exp $ */
/*
@@ -125,7 +125,7 @@
#include <net/route.h>
#include <net/bpf.h>
-#if INET
+#ifdef INET
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/in_var.h>
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c
index ef024f8d4f3..35966944a24 100644
--- a/sys/net/if_sl.c
+++ b/sys/net/if_sl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sl.c,v 1.35 2007/12/20 02:53:02 brad Exp $ */
+/* $OpenBSD: if_sl.c,v 1.36 2008/10/22 23:04:45 mpf Exp $ */
/* $NetBSD: if_sl.c,v 1.39.4.1 1996/06/02 16:26:31 thorpej Exp $ */
/*
@@ -83,7 +83,7 @@
#include <net/netisr.h>
#include <net/route.h>
-#if INET
+#ifdef INET
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/in_var.h>
diff --git a/sys/net/if_strip.c b/sys/net/if_strip.c
index 791781ed5b4..f6febb012b3 100644
--- a/sys/net/if_strip.c
+++ b/sys/net/if_strip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_strip.c,v 1.34 2008/09/10 14:01:23 blambert Exp $ */
+/* $OpenBSD: if_strip.c,v 1.35 2008/10/22 23:04:45 mpf Exp $ */
/* $NetBSD: if_strip.c,v 1.2.4.3 1996/08/03 00:58:32 jtc Exp $ */
/* from: NetBSD: if_sl.c,v 1.38 1996/02/13 22:00:23 christos Exp $ */
@@ -115,7 +115,7 @@
#include <net/netisr.h>
#include <net/route.h>
-#if INET
+#ifdef INET
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/in_var.h>
diff --git a/sys/net/pfkeyv2_convert.c b/sys/net/pfkeyv2_convert.c
index c39d86fc9e6..67dc4fe6f34 100644
--- a/sys/net/pfkeyv2_convert.c
+++ b/sys/net/pfkeyv2_convert.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2_convert.c,v 1.30 2007/09/13 21:00:14 hshoexer Exp $ */
+/* $OpenBSD: pfkeyv2_convert.c,v 1.31 2008/10/22 23:04:45 mpf Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@keromytis.org)
*
@@ -680,7 +680,7 @@ import_address(struct sockaddr *sa, struct sadb_address *sadb_address)
break;
#endif /* INET */
-#if INET6
+#ifdef INET6
case AF_INET6:
salen = sizeof(struct sockaddr_in6);
break;
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))) {