summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2011-01-12 19:53:50 +0000
committermdf <mdf@FreeBSD.org>2011-01-12 19:53:50 +0000
commit5e41205b166387321bf83101cb158e537c71dc58 (patch)
treecd0e24f22d6c28e66b653979dd31b2f73c071f30 /sys/netinet/tcp_subr.c
parent2978c8b7aec866ba02d8cc305863b9678edcddcb (diff)
downloadFreeBSD-src-5e41205b166387321bf83101cb158e537c71dc58.zip
FreeBSD-src-5e41205b166387321bf83101cb158e537c71dc58.tar.gz
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the net* piece.
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 00d266d..2880ff8 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -192,7 +192,7 @@ static int do_tcpdrain = 1;
SYSCTL_INT(_net_inet_tcp, OID_AUTO, do_tcpdrain, CTLFLAG_RW, &do_tcpdrain, 0,
"Enable tcp_drain routine for extra help when low on mbufs");
-SYSCTL_VNET_INT(_net_inet_tcp, OID_AUTO, pcbcount, CTLFLAG_RD,
+SYSCTL_VNET_UINT(_net_inet_tcp, OID_AUTO, pcbcount, CTLFLAG_RD,
&VNET_NAME(tcbinfo.ipi_count), 0, "Number of active PCBs");
static VNET_DEFINE(int, icmp_may_rst) = 1;
OpenPOWER on IntegriCloud