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:
Bjoern A. Zeeb 2014-05-28 23:01:20 +00:00
parent e6455de122
commit 6d120f909c

View File

@ -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*/