diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-03-30 00:19:06 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-03-30 00:19:06 +0000 |
commit | 29e92409238cb10030480f30250954966df1bded (patch) | |
tree | 0fc7c0a99dd62ecd21b5d00c083990e9f7f9e611 /sys/kern/uipc_domain.c | |
parent | eea98f417bfe88745366fa281f227fa9a8942dff (diff) |
make option IPSEC imply option KEY
Diffstat (limited to 'sys/kern/uipc_domain.c')
-rw-r--r-- | sys/kern/uipc_domain.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/uipc_domain.c b/sys/kern/uipc_domain.c index 0c7463eb2b6..9d5a23865f8 100644 --- a/sys/kern/uipc_domain.c +++ b/sys/kern/uipc_domain.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_domain.c,v 1.7 1999/02/24 22:19:20 angelos Exp $ */ +/* $OpenBSD: uipc_domain.c,v 1.8 1999/03/30 00:19:05 niklas Exp $ */ /* $NetBSD: uipc_domain.c,v 1.14 1996/02/09 19:00:44 christos Exp $ */ /* @@ -50,9 +50,9 @@ void pffasttimo __P((void *)); void pfslowtimo __P((void *)); -#ifdef KEY +#if defined (KEY) || defined (IPSEC) int pfkey_init __P((void)); -#endif /* KEY */ +#endif /* KEY || IPSEC */ #define ADDDOMAIN(x) { \ extern struct domain __CONCAT(x,domain); \ @@ -76,9 +76,9 @@ domaininit() #ifdef INET6 ADDDOMAIN(inet6); #endif /* INET6 */ -#ifdef KEY +#if defined (KEY) || defined (IPSEC) pfkey_init(); -#endif /* KEY */ +#endif /* KEY || IPSEC */ #ifdef IPX ADDDOMAIN(ipx); #endif |