diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2001-08-22 18:13:37 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2001-08-22 18:13:37 +0000 |
commit | 7ef68881778a56ca8a71423f4757db555208937e (patch) | |
tree | 6c4c7bba2bccdd84bf82b9d8d16d4d91da81c555 /sbin/isakmpd/sysdep/openbsd | |
parent | 775c95b3607f90681e7e8d5944184b0773213726 (diff) |
Compile on older systems.
Diffstat (limited to 'sbin/isakmpd/sysdep/openbsd')
-rw-r--r-- | sbin/isakmpd/sysdep/openbsd/sysdep.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sbin/isakmpd/sysdep/openbsd/sysdep.c b/sbin/isakmpd/sysdep/openbsd/sysdep.c index 3edd0ff0431..d8bbe1a5b25 100644 --- a/sbin/isakmpd/sysdep/openbsd/sysdep.c +++ b/sbin/isakmpd/sysdep/openbsd/sysdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysdep.c,v 1.17 2001/08/22 13:06:09 niklas Exp $ */ +/* $OpenBSD: sysdep.c,v 1.18 2001/08/22 18:13:36 ho Exp $ */ /* $EOM: sysdep.c,v 1.9 2000/12/04 04:46:35 angelos Exp $ */ /* @@ -141,9 +141,16 @@ sysdep_cleartext (int fd, int af) } optsw[] = { { IPPROTO_IP, IP_AUTH_LEVEL, IP_ESP_TRANS_LEVEL, IP_ESP_NETWORK_LEVEL, - IP_IPCOMP_LEVEL }, +#ifdef IP_IPCOMP_LEVEL + IP_IPCOMP_LEVEL, +#endif + }, { IPPROTO_IPV6, IPV6_AUTH_LEVEL, IPV6_ESP_TRANS_LEVEL, - IPV6_ESP_NETWORK_LEVEL, IPV6_IPCOMP_LEVEL }, + IPV6_ESP_NETWORK_LEVEL, +#ifdef IPV6_IPCOMP_LEVEL + IPV6_IPCOMP_LEVEL, +#endif + }, }; if (app_none) |