summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-11 01:39:11 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-11 01:39:11 +0000
commitda4c69b37c845bf0f8b178515af5a5fd8a80a4d0 (patch)
tree01415a23a57b9eb03853410b01ca1735ba7efc4d /sys/netinet
parente2ebbd5b47142b0984167448df5e603b00d324df (diff)
Fix check for sen_type.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_ipsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c
index 4cfc670fa9e..0ba921b20cd 100644
--- a/sys/netinet/ip_ipsp.c
+++ b/sys/netinet/ip_ipsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.c,v 1.71 2000/01/11 01:03:22 angelos Exp $ */
+/* $OpenBSD: ip_ipsp.c,v 1.72 2000/01/11 01:39:10 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -348,13 +348,13 @@ check_ipsec_policy(struct inpcb *inp, void *daddr)
switch (dst->sen_type)
{
#ifdef INET
- case SENT_IPSP:
+ case SENT_IP4:
DPRINTF(("ipsec: send SA request (%d), remote IPv4 address: %s, SA type: %d\n", i + 1, inet_ntoa4(dst->sen_ip_dst), sa_require));
break;
#endif /* INET */
#ifdef INET6
- case SENT_IPSP6:
+ case SENT_IP6:
DPRINTF(("ipsec: send SA request (%d), remote IPv6 address: %s, SA type: %d\n", i + 1, inet6_ntoa4(dst->sen_ip6_dst), sa_require));
break;
#endif /* INET6 */