diff options
-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 */ |