summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_esp.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-05 11:10:13 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-05 11:10:13 +0000
commit99ffc6fa7e0db4d7406b8ee2997aa61d7457312a (patch)
treed0496d779df226c04a30564fbf0d378ab9183be1 /sys/netinet/ip_esp.c
parent4680100e8d40e22a6fc9cb002e552581780207b0 (diff)
Add a few DPRINTF()'s
Diffstat (limited to 'sys/netinet/ip_esp.c')
-rw-r--r--sys/netinet/ip_esp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_esp.c b/sys/netinet/ip_esp.c
index 1b580793b6c..509df9a8c3b 100644
--- a/sys/netinet/ip_esp.c
+++ b/sys/netinet/ip_esp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_esp.c,v 1.63 2001/06/01 00:09:23 angelos Exp $ */
+/* $OpenBSD: ip_esp.c,v 1.64 2001/06/05 11:10:10 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -849,6 +849,8 @@ esp_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip,
if (n == NULL)
{
+ DPRINTF(("esp_output(): bad mbuf chain, SA %s/%08x\n",
+ ipsp_address(tdb->tdb_dst), ntohl(tdb->tdb_spi)));
espstat.esps_hdrops++;
m_freem(m);
return ENOBUFS;