From 8cfb727def26a27a45d27023f3ad6e6729e310e6 Mon Sep 17 00:00:00 2001 From: bz Date: Wed, 28 May 2014 23:01:20 +0000 Subject: Use IPv4 statistics in ipsec4_process_packet() rather than the IPv6 version. This also unbreaks the NOINET6 builds after r266800. --- sys/netipsec/ipsec_output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/netipsec') diff --git a/sys/netipsec/ipsec_output.c b/sys/netipsec/ipsec_output.c index 13caf24..3e83175 100644 --- a/sys/netipsec/ipsec_output.c +++ b/sys/netipsec/ipsec_output.c @@ -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 @@ bad: m_freem(m); return error; } -#endif /*INET6*/ \ No newline at end of file +#endif /*INET6*/ -- cgit v1.1