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
This commit is contained in:
parent
4287da9afb
commit
2d8bba43bd
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user