aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2016-03-16 10:42:24 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2016-03-16 10:42:24 +0000
commitd4d32b9fec95be43e1f0bd7dfec02e3b456f1044 (patch)
tree1c48d7e3e6c3de8449c925229d5847a9877cdc35 /sys/netinet/tcp_input.c
parent6d5aaa1af81ea3b2a412c83955d243f1ed01dc4b (diff)
downloadsrc-d4d32b9fec95be43e1f0bd7dfec02e3b456f1044.tar.gz
src-d4d32b9fec95be43e1f0bd7dfec02e3b456f1044.zip
Notes
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 16be9cbc05b1..7134ce441f81 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -243,7 +243,7 @@ SYSCTL_VNET_PCPUSTAT(_net_inet_tcp, TCPCTL_STATS, stats, struct tcpstat,
tcpstat, "TCP statistics (struct tcpstat, netinet/tcp_var.h)");
VNET_DEFINE(counter_u64_t, tcps_states[TCP_NSTATES]);
SYSCTL_COUNTER_U64_ARRAY(_net_inet_tcp, TCPCTL_STATES, states, CTLFLAG_RD |
- CTLFLAG_VNET, &VNET_NAME(tcps_states), TCP_NSTATES,
+ CTLFLAG_VNET, &VNET_NAME(tcps_states)[0], TCP_NSTATES,
"TCP connection counts by TCP state");
static void