summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2003-10-21 18:28:36 +0000
committersilby <silby@FreeBSD.org>2003-10-21 18:28:36 +0000
commitf0e686a675daa6e2c0de834b5fd380d875dd680b (patch)
treed7f74385af1b21c4660c768322a0bb7af0ce2ecc /sys/netinet/tcp_subr.c
parent62679efced213b5b06e18e51dfd87813b839f95a (diff)
downloadFreeBSD-src-f0e686a675daa6e2c0de834b5fd380d875dd680b.zip
FreeBSD-src-f0e686a675daa6e2c0de834b5fd380d875dd680b.tar.gz
Change all SYSCTLS which are readonly and have a related TUNABLE
from CTLFLAG_RD to CTLFLAG_RDTUN so that sysctl(8) can provide more useful error messages.
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 6a176f3..613ea59 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -135,7 +135,7 @@ SYSCTL_INT(_net_inet_tcp, TCPCTL_DO_RFC1644, rfc1644, CTLFLAG_RW,
&tcp_do_rfc1644 , 0, "Enable rfc1644 (TTCP) extensions");
static int tcp_tcbhashsize = 0;
-SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcbhashsize, CTLFLAG_RD,
+SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcbhashsize, CTLFLAG_RDTUN,
&tcp_tcbhashsize, 0, "Size of TCP control-block hashtable");
static int do_tcpdrain = 1;
OpenPOWER on IntegriCloud