diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-07-05 23:11:10 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-07-05 23:11:10 +0000 |
commit | 0a0cbc538694bb80ad785324680b8560913488cb (patch) | |
tree | c65b1eea5e2129b6c79e3e55796bda0638d3d866 /sys | |
parent | 44df1985a060f8177a115cfc5cdc20703eb99754 (diff) |
Bump ipips_family in ipipstat in all cases where EAFNOSUPPORT is returned.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_ipip.c | 4 |
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; } |