Date: Wed, 28 May 2014 23:01:20 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266822 - head/sys/netipsec Message-ID: <201405282301.s4SN1Kcv020803@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Wed May 28 23:01:20 2014 New Revision: 266822 URL: http://svnweb.freebsd.org/changeset/base/266822 Log: Use IPv4 statistics in ipsec4_process_packet() rather than the IPv6 version. This also unbreaks the NOINET6 builds after r266800. Modified: head/sys/netipsec/ipsec_output.c Modified: head/sys/netipsec/ipsec_output.c ============================================================================== --- head/sys/netipsec/ipsec_output.c Wed May 28 19:59:27 2014 (r266821) +++ head/sys/netipsec/ipsec_output.c Wed May 28 23:01:20 2014 (r266822) @@ -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*/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405282301.s4SN1Kcv020803>