summaryrefslogtreecommitdiff
path: root/sys/netinet/ipsec_input.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-10 01:09:17 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-10 01:09:17 +0000
commitc110d267db53b3124404de95fa59de1c69c2829e (patch)
treef43e23734d027f5658cf8f7881e48d23a5e7377a /sys/netinet/ipsec_input.c
parent9df66b50a4f2e21901a01ac0c49499ce39b46de4 (diff)
Fix error message.
Diffstat (limited to 'sys/netinet/ipsec_input.c')
-rw-r--r--sys/netinet/ipsec_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ipsec_input.c b/sys/netinet/ipsec_input.c
index fade9560106..1fe1fc740ca 100644
--- a/sys/netinet/ipsec_input.c
+++ b/sys/netinet/ipsec_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsec_input.c,v 1.8 2000/01/09 23:42:37 angelos Exp $ */
+/* $OpenBSD: ipsec_input.c,v 1.9 2000/01/10 01:09:16 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -489,7 +489,7 @@ ipsec_common_input(struct mbuf **m0, int skip, int protoff, int af, int sproto)
if (flow == NULL)
{
/* Failed to match any entry in the ACL */
- DPRINTF(("%s: inner source address %s doesn't correspond to expected proxy source %s, SA %s/%08x\n", IPSEC_NAME, inet6_ntoa4(ip6n.ip6_src), ipsp_address(tdbp->tdb_proxy), ipsp_address(tdbp->tdb_dst), ntohl(spi)));
+ DPRINTF(("%s: packet from %s to %s dropped due to policy, SA %s/%08x\n", IPSEC_NAME, ipsp_address(src_address), ipsp_address(dst_address), ipsp_address(tdbp->tdb_dst), ntohl(spi)));
m_freem(m);
*m0 = NULL;
IPSEC_ISTAT(espstat.esps_pdrops, ahstat.ahs_pdrops);