From 5251d28278f0ec5011cd5f84c1d693ffe94cbe59 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 19 Jan 2015 18:36:51 +0000 Subject: [PATCH] mikeb points out that 'struct ipsec_policy' can also be hidden by _KERNEL --- sys/netinet/ip_ipsp.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index 39258488cfc..63f07c7ab37 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.159 2015/01/19 16:49:05 deraadt Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.160 2015/01/19 18:36:51 deraadt Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr), @@ -186,8 +186,6 @@ struct ipsec_acquire { TAILQ_ENTRY(ipsec_acquire) ipa_inp_next; }; -#endif /* _KERNEL */ - struct ipsec_policy { struct sockaddr_encap ipo_addr; struct sockaddr_encap ipo_mask; @@ -225,8 +223,6 @@ struct ipsec_policy { TAILQ_ENTRY(ipsec_policy) ipo_list; /* List of all policies */ }; -#ifdef _KERNEL - #define IPSP_POLICY_NONE 0x0000 /* No flags set */ #define IPSP_POLICY_SOCKET 0x0001 /* Socket-attached policy */ #define IPSP_POLICY_STATIC 0x0002 /* Static policy */ -- 2.20.1