summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2005-12-14 22:27:48 +0000
committermux <mux@FreeBSD.org>2005-12-14 22:27:48 +0000
commitb29e3549b8720cdd8b2235af4a4960c90222e4f9 (patch)
tree8c856acb2216a6f35485916f78c4382e31178f38 /sys/netinet/udp_usrreq.c
parent2bc0431d839841007294de483c3d750271cc492b (diff)
downloadFreeBSD-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/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index c422c8f..1e8fadb 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -899,7 +899,7 @@ release:
u_long udp_sendspace = 9216; /* really max datagram size */
/* 40 1K datagrams */
-SYSCTL_INT(_net_inet_udp, UDPCTL_MAXDGRAM, maxdgram, CTLFLAG_RW,
+SYSCTL_ULONG(_net_inet_udp, UDPCTL_MAXDGRAM, maxdgram, CTLFLAG_RW,
&udp_sendspace, 0, "Maximum outgoing UDP datagram size");
u_long udp_recvspace = 40 * (1024 +
@@ -909,7 +909,7 @@ u_long udp_recvspace = 40 * (1024 +
sizeof(struct sockaddr_in)
#endif
);
-SYSCTL_INT(_net_inet_udp, UDPCTL_RECVSPACE, recvspace, CTLFLAG_RW,
+SYSCTL_ULONG(_net_inet_udp, UDPCTL_RECVSPACE, recvspace, CTLFLAG_RW,
&udp_recvspace, 0, "Maximum space for incoming UDP datagrams");
static int
OpenPOWER on IntegriCloud