summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2002-06-26 00:13:48 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2002-06-26 00:13:48 +0000
commitdf4be3f7951e60c9bd4caa537e3d350448c68501 (patch)
treefd2243cf4946cc5bc4c08b37e2f970629fba86a0
parent6075f57d275012f6ece7e0d0d990805bfaa1876a (diff)
Update correct statistic if m_inject() fails --- from sam@errno.com
-rw-r--r--sys/netinet/ip_ah.c4
1 files changed, 2 insertions, 2 deletions
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;
}