diff options
author | mux <mux@FreeBSD.org> | 2005-12-14 22:27:48 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2005-12-14 22:27:48 +0000 |
commit | b29e3549b8720cdd8b2235af4a4960c90222e4f9 (patch) | |
tree | 8c856acb2216a6f35485916f78c4382e31178f38 /sys/netinet/tcp_usrreq.c | |
parent | 2bc0431d839841007294de483c3d750271cc492b (diff) | |
download | FreeBSD-src-b29e3549b8720cdd8b2235af4a4960c90222e4f9.zip FreeBSD-src-b29e3549b8720cdd8b2235af4a4960c90222e4f9.tar.gz |
Fix a bunch of SYSCTL_INT() that should have been SYSCTL_ULONG() to
match the type of the variable they are exporting.
Spotted by: Thomas Hurst <tom@hur.st>
MFC after: 3 days
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index b49583e..7647893 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1162,10 +1162,10 @@ tcp_ctloutput(so, sopt) * be set by the route). */ u_long tcp_sendspace = 1024*32; -SYSCTL_INT(_net_inet_tcp, TCPCTL_SENDSPACE, sendspace, CTLFLAG_RW, +SYSCTL_ULONG(_net_inet_tcp, TCPCTL_SENDSPACE, sendspace, CTLFLAG_RW, &tcp_sendspace , 0, "Maximum outgoing TCP datagram size"); u_long tcp_recvspace = 1024*64; -SYSCTL_INT(_net_inet_tcp, TCPCTL_RECVSPACE, recvspace, CTLFLAG_RW, +SYSCTL_ULONG(_net_inet_tcp, TCPCTL_RECVSPACE, recvspace, CTLFLAG_RW, &tcp_recvspace , 0, "Maximum incoming TCP datagram size"); /* |