summaryrefslogtreecommitdiffstats
path: root/sys/netipsec
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2014-05-28 23:01:20 +0000
committerbz <bz@FreeBSD.org>2014-05-28 23:01:20 +0000
commit8cfb727def26a27a45d27023f3ad6e6729e310e6 (patch)
treee9d16a35a2c018c837d4b801b9c75eba2f1674a7 /sys/netipsec
parent7a9dd75c9f8f068f5ad0a2859c15bf17461e3059 (diff)
downloadFreeBSD-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')
-rw-r--r--sys/netipsec/ipsec_output.c4
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*/
OpenPOWER on IntegriCloud