summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_ipsec.c
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2013-04-09 07:11:22 +0000
committerae <ae@FreeBSD.org>2013-04-09 07:11:22 +0000
commit844d612b2ac90320a94987519d82dca04334da1e (patch)
treea37444a753245c5a506d831125e8ba84425b9fc6 /sys/netinet6/ip6_ipsec.c
parent11842319432af11ae4828f76bb503310ea1780a6 (diff)
downloadFreeBSD-src-844d612b2ac90320a94987519d82dca04334da1e.zip
FreeBSD-src-844d612b2ac90320a94987519d82dca04334da1e.tar.gz
Use IP6STAT_INC/IP6STAT_DEC macros to update ip6 stats.
MFC after: 1 week
Diffstat (limited to 'sys/netinet6/ip6_ipsec.c')
-rw-r--r--sys/netinet6/ip6_ipsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_ipsec.c b/sys/netinet6/ip6_ipsec.c
index f4e781e..8cdd431 100644
--- a/sys/netinet6/ip6_ipsec.c
+++ b/sys/netinet6/ip6_ipsec.c
@@ -149,7 +149,7 @@ ip6_ipsec_fwd(struct mbuf *m)
error = ipsec_in_reject(sp, m);
KEY_FREESP(&sp);
if (error) {
- V_ip6stat.ip6s_cantforward++;
+ IP6STAT_INC(ip6s_cantforward);
return 1;
}
#endif /* IPSEC */
OpenPOWER on IntegriCloud