summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_options.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2009-04-11 23:35:20 +0000
committerRobert Watson <rwatson@FreeBSD.org>2009-04-11 23:35:20 +0000
commit86425c62a0067a5c61d3c87ab5f3a489e3c4fd25 (patch)
tree10c5a6d474eb50a7cbc30483b13c043872a03382 /sys/netinet/ip_options.c
parent7970a637214dd5ff99c91eaa47ffe0a63e57f362 (diff)
downloadsrc-test2-86425c62a0067a5c61d3c87ab5f3a489e3c4fd25.tar.gz
src-test2-86425c62a0067a5c61d3c87ab5f3a489e3c4fd25.zip
Notes
Diffstat (limited to 'sys/netinet/ip_options.c')
-rw-r--r--sys/netinet/ip_options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_options.c b/sys/netinet/ip_options.c
index 74d54f2df092..dbb7d81e96a1 100644
--- a/sys/netinet/ip_options.c
+++ b/sys/netinet/ip_options.c
@@ -218,7 +218,7 @@ nosourcerouting:
#ifdef IPSTEALTH
dropit:
#endif
- V_ipstat.ips_cantforward++;
+ IPSTAT_INC(ips_cantforward);
m_freem(m);
return (1);
}
@@ -366,7 +366,7 @@ dropit:
return (0);
bad:
icmp_error(m, type, code, 0, 0);
- V_ipstat.ips_badoptions++;
+ IPSTAT_INC(ips_badoptions);
return (1);
}