summaryrefslogtreecommitdiffstats
path: root/sys/net/pf_ioctl.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-01-24 00:29:06 +0000
committerderaadt <deraadt@openbsd.org>2015-01-24 00:29:06 +0000
commit377da2e088c5f8650c7d834461164f98ce9de4b0 (patch)
tree049f7bc23cb432e50e688e3beacb90c45e847d0f /sys/net/pf_ioctl.c
parentIn shell statements use shell pattern '+([0-9])', not sed regular (diff)
downloadwireguard-openbsd-377da2e088c5f8650c7d834461164f98ce9de4b0.tar.xz
wireguard-openbsd-377da2e088c5f8650c7d834461164f98ce9de4b0.zip
Userland (base & ports) was adapted to always include <netinet/in.h>
before <net/pfvar.h> or <net/if_pflog.h>. The kernel files can be cleaned up next. Some sockaddr_union steps make it into here as well. ok naddy
Diffstat (limited to 'sys/net/pf_ioctl.c')
-rw-r--r--sys/net/pf_ioctl.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c
index 19691a9c8d5..5ec608c7681 100644
--- a/sys/net/pf_ioctl.c
+++ b/sys/net/pf_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_ioctl.c,v 1.280 2014/12/19 17:14:40 tedu Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.281 2015/01/24 00:29:06 deraadt Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -68,14 +68,15 @@
#include <crypto/md5.h>
#include <net/pfvar.h>
-#if NPFSYNC > 0
-#include <net/if_pfsync.h>
-#endif /* NPFSYNC > 0 */
-
#if NPFLOG > 0
#include <net/if_pflog.h>
#endif /* NPFLOG > 0 */
+#if NPFSYNC > 0
+#include <netinet/ip_ipsp.h>
+#include <net/if_pfsync.h>
+#endif /* NPFSYNC > 0 */
+
#ifdef INET6
#include <netinet/ip6.h>
#include <netinet/in_pcb.h>