diff options
author | bz <bz@FreeBSD.org> | 2008-06-29 07:34:21 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2008-06-29 07:34:21 +0000 |
commit | 43f7cc1db4abee9e6c7c3d684a618662477ef1ab (patch) | |
tree | b11eb3b4b11bd95f76fe3cac876d87534f9a9d86 /sys/netinet6/ip6_ipsec.c | |
parent | 081bbc17b6306d62449b08634d88106ccdad3d05 (diff) | |
download | FreeBSD-src-43f7cc1db4abee9e6c7c3d684a618662477ef1ab.zip FreeBSD-src-43f7cc1db4abee9e6c7c3d684a618662477ef1ab.tar.gz |
Try to fix errors introduced in svn180085/cvs rev. 1.10:
* Include ip6_var.h for ip6stat.
* Use the correct name under ip6stat: `ip6s_cantforward' instead
of its IPv4 counterpart.
MFC after: 10 days
Diffstat (limited to 'sys/netinet6/ip6_ipsec.c')
-rw-r--r-- | sys/netinet6/ip6_ipsec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_ipsec.c b/sys/netinet6/ip6_ipsec.c index cbc5654..9867e66 100644 --- a/sys/netinet6/ip6_ipsec.c +++ b/sys/netinet6/ip6_ipsec.c @@ -70,6 +70,7 @@ __FBSDID("$FreeBSD$"); #endif /*IPSEC*/ #include <netinet6/ip6_ipsec.h> +#include <netinet6/ip6_var.h> extern struct protosw inet6sw[]; @@ -128,7 +129,7 @@ ip6_ipsec_fwd(struct mbuf *m) KEY_FREESP(&sp); splx(s); if (error) { - ip6stat.ips_cantforward++; + ip6stat.ip6s_cantforward++; return 1; } #endif /* IPSEC */ |