summaryrefslogtreecommitdiffstats
path: root/sys/net/pf_osfp.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2016-09-02 11:43:53 +0000
committerdlg <dlg@openbsd.org>2016-09-02 11:43:53 +0000
commitdf4b7b92bc16e36e8c78f644ca49e91f28ec3670 (patch)
tree15632a22bceb47c966f535dd35cd6c25a5eb0bd7 /sys/net/pf_osfp.c
parentproc.c tweaks: Rename proc_listento() to proc_accept() as it is the (diff)
downloadwireguard-openbsd-df4b7b92bc16e36e8c78f644ca49e91f28ec3670.tar.xz
wireguard-openbsd-df4b7b92bc16e36e8c78f644ca49e91f28ec3670.zip
provide a pool_setipl so tcpdump can compile this file
spotted by deraadt@
Diffstat (limited to 'sys/net/pf_osfp.c')
-rw-r--r--sys/net/pf_osfp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf_osfp.c b/sys/net/pf_osfp.c
index b1e82ab524c..14b3291360c 100644
--- a/sys/net/pf_osfp.c
+++ b/sys/net/pf_osfp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_osfp.c,v 1.35 2016/09/02 10:19:49 dlg Exp $ */
+/* $OpenBSD: pf_osfp.c,v 1.36 2016/09/02 11:43:53 dlg Exp $ */
/*
* Copyright (c) 2003 Mike Frantzen <frantzen@w4g.org>
@@ -53,6 +53,7 @@ typedef struct pool pool_t;
#define pool_get(pool, flags) malloc(*(pool))
#define pool_put(pool, item) free(item)
#define pool_init(pool, size, a, ao, f, m, p) (*(pool)) = (size)
+#define pool_setipl(pool, ipl) ((void)0)
#ifdef PFDEBUG
#include <sys/stdarg.h> /* for DPFPRINTF() */