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/raw_ip.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/raw_ip.c')
-rw-r--r-- | sys/netinet/raw_ip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index 26e7c02..33ecb98 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -567,9 +567,9 @@ rip_ctlinput(int cmd, struct sockaddr *sa, void *vip) u_long rip_sendspace = RIPSNDQ; u_long rip_recvspace = RIPRCVQ; -SYSCTL_INT(_net_inet_raw, OID_AUTO, maxdgram, CTLFLAG_RW, +SYSCTL_ULONG(_net_inet_raw, OID_AUTO, maxdgram, CTLFLAG_RW, &rip_sendspace, 0, "Maximum outgoing raw IP datagram size"); -SYSCTL_INT(_net_inet_raw, OID_AUTO, recvspace, CTLFLAG_RW, +SYSCTL_ULONG(_net_inet_raw, OID_AUTO, recvspace, CTLFLAG_RW, &rip_recvspace, 0, "Maximum space for incoming raw IP datagrams"); static int |