svn commit: r266822 - head/sys/netipsec
Bjoern A. Zeeb
bz at FreeBSD.org
Wed May 28 23:01:20 UTC 2014
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*/
More information about the svn-src-head
mailing list