Use IPv4 statistics in ipsec4_process_packet() rather than the IPv6
version. This also unbreaks the NOINET6 builds after r266800.
This commit is contained in:
parent
e6455de122
commit
6d120f909c
@ -576,7 +576,7 @@ ipsec4_process_packet(
|
||||
DPRINTF(("%s: unsupported protocol family %u\n",
|
||||
__func__, dst->sa.sa_family));
|
||||
error = EPFNOSUPPORT;
|
||||
IPSEC6STAT_INC(ips_out_inval);
|
||||
IPSECSTAT_INC(ips_out_inval);
|
||||
goto bad;
|
||||
}
|
||||
error = (*sav->tdb_xform->xf_output)(m, isr, NULL, i, off);
|
||||
@ -739,4 +739,4 @@ ipsec6_process_packet(
|
||||
m_freem(m);
|
||||
return error;
|
||||
}
|
||||
#endif /*INET6*/
|
||||
#endif /*INET6*/
|
||||
|
Loading…
Reference in New Issue
Block a user