From df4be3f7951e60c9bd4caa537e3d350448c68501 Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Wed, 26 Jun 2002 00:13:48 +0000 Subject: Update correct statistic if m_inject() fails --- from sam@errno.com --- sys/netinet/ip_ah.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/netinet') diff --git a/sys/netinet/ip_ah.c b/sys/netinet/ip_ah.c index fa7c532a716..64df8f8efc3 100644 --- a/sys/netinet/ip_ah.c +++ b/sys/netinet/ip_ah.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ah.c,v 1.68 2002/06/18 23:03:26 angelos Exp $ */ +/* $OpenBSD: ip_ah.c,v 1.69 2002/06/26 00:13:47 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -1073,7 +1073,7 @@ ah_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip, ntohl(tdb->tdb_spi))); m_freem(m); - ahstat.ahs_wrap++; + ahstat.ahs_hdrops++; return ENOBUFS; } -- cgit v1.2.3