summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-11-15 11:48:59 +0000
committermpi <mpi@openbsd.org>2017-11-15 11:48:59 +0000
commit0d2ba7a024757c500c6b78773ae997d1e44c2ab8 (patch)
tree2fb50469e3af4ccae01372592fb859b921351fba /sys
parentdowngrade a couple more request parsing errors from process-fatal to (diff)
downloadwireguard-openbsd-0d2ba7a024757c500c6b78773ae997d1e44c2ab8.tar.xz
wireguard-openbsd-0d2ba7a024757c500c6b78773ae997d1e44c2ab8.zip
Unbreak ENCDEBUG kernels by declaring `encdebug' in ip_ipsp.h
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_ipsp.h3
-rw-r--r--sys/netinet/ip_var.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h
index e617ff5446e..187a15eb5bd 100644
--- a/sys/netinet/ip_ipsp.h
+++ b/sys/netinet/ip_ipsp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.h,v 1.187 2017/11/14 09:30:17 mpi Exp $ */
+/* $OpenBSD: ip_ipsp.h,v 1.188 2017/11/15 11:48:59 mpi Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr),
@@ -411,6 +411,7 @@ struct xformsw {
extern int ipsec_in_use;
extern u_int64_t ipsec_last_added;
extern int ipsec_policy_pool_initialized;
+extern int encdebug; /* enable message reporting */
extern int ipsec_keep_invalid; /* lifetime of embryonic SAs (in sec) */
extern int ipsec_require_pfs; /* use Perfect Forward Secrecy */
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index c9241370839..4cd91694140 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_var.h,v 1.84 2017/11/05 13:19:59 florian Exp $ */
+/* $OpenBSD: ip_var.h,v 1.85 2017/11/15 11:48:59 mpi Exp $ */
/* $NetBSD: ip_var.h,v 1.16 1996/02/13 23:43:20 christos Exp $ */
/*
@@ -202,7 +202,6 @@ extern int ipport_firstauto; /* min port for port allocation */
extern int ipport_lastauto; /* max port for port allocation */
extern int ipport_hifirstauto; /* min dynamic/private port number */
extern int ipport_hilastauto; /* max dynamic/private port number */
-extern int encdebug; /* enable message reporting */
extern int ipforwarding; /* enable IP forwarding */
#ifdef MROUTING
extern int ipmforwarding; /* enable multicast forwarding */