diff options
author | bz <bz@FreeBSD.org> | 2014-05-28 23:01:20 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2014-05-28 23:01:20 +0000 |
commit | 8cfb727def26a27a45d27023f3ad6e6729e310e6 (patch) | |
tree | e9d16a35a2c018c837d4b801b9c75eba2f1674a7 /sys/netipsec/ipsec_output.c | |
parent | 7a9dd75c9f8f068f5ad0a2859c15bf17461e3059 (diff) | |
download | FreeBSD-src-8cfb727def26a27a45d27023f3ad6e6729e310e6.zip FreeBSD-src-8cfb727def26a27a45d27023f3ad6e6729e310e6.tar.gz |
Use IPv4 statistics in ipsec4_process_packet() rather than the IPv6
version. This also unbreaks the NOINET6 builds after r266800.
Diffstat (limited to 'sys/netipsec/ipsec_output.c')
-rw-r--r-- | sys/netipsec/ipsec_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
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*/ |