summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-12-06 23:09:12 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-12-06 23:09:12 +0000
commit82c931903ed44651447aff876473555f8e7e4ba7 (patch)
treea11c0a0960bd893c3bed7234dbc6b695f168c018 /sys/netinet
parent3cf54fa8807d8dbd7a07ebc23edaa65f4d3dad6e (diff)
Keep statistics in default case as well.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_esp_new.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_esp_new.c b/sys/netinet/ip_esp_new.c
index 04fb38d8e05..dbb3bddc3b6 100644
--- a/sys/netinet/ip_esp_new.c
+++ b/sys/netinet/ip_esp_new.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_esp_new.c,v 1.51 1999/12/06 22:33:29 angelos Exp $ */
+/* $OpenBSD: ip_esp_new.c,v 1.52 1999/12/06 23:09:11 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -311,6 +311,7 @@ esp_new_input(struct mbuf *m, struct tdb *tdb, int skip, int protoff)
default:
DPRINTF(("esp_new_input(): bogus value from checkreplaywindow32() in SA %s/%08x\n", ipsp_address(tdb->tdb_dst), ntohl(tdb->tdb_spi)));
+ espstat.esps_replay++;
m_freem(m);
return NULL;
}