summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2002-07-05 23:11:10 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2002-07-05 23:11:10 +0000
commit0a0cbc538694bb80ad785324680b8560913488cb (patch)
treec65b1eea5e2129b6c79e3e55796bda0638d3d866 /sys
parent44df1985a060f8177a115cfc5cdc20703eb99754 (diff)
Bump ipips_family in ipipstat in all cases where EAFNOSUPPORT is returned.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_ipip.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipip.c b/sys/netinet/ip_ipip.c
index 4e89fcb7f2b..81cf18692b2 100644
--- a/sys/netinet/ip_ipip.c
+++ b/sys/netinet/ip_ipip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipip.c,v 1.25 2002/06/10 18:04:55 itojun Exp $ */
+/* $OpenBSD: ip_ipip.c,v 1.26 2002/07/05 23:11:09 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -493,6 +493,7 @@ ipip_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip,
else {
m_freem(m);
*mp = NULL;
+ ipipstat.ipips_family++;
return EAFNOSUPPORT;
}
@@ -568,6 +569,7 @@ ipip_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip,
} else {
m_freem(m);
*mp = NULL;
+ ipipstat.ipips_family++;
return EAFNOSUPPORT;
}