diff options
author | luigi <luigi@FreeBSD.org> | 2009-03-02 22:16:50 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2009-03-02 22:16:50 +0000 |
commit | 12e34d9850ea5157971c208839b4af421d679674 (patch) | |
tree | 74965aecb942a81699f7e21988ca28a8159bd814 | |
parent | 6580dcca6013ff2e172aa8d02ab13b5781b4439d (diff) | |
download | FreeBSD-src-12e34d9850ea5157971c208839b4af421d679674.zip FreeBSD-src-12e34d9850ea5157971c208839b4af421d679674.tar.gz |
curr_time is a 64 bit variable so SYSCTL_LONG is not appropriate
as a handler.
The variable was exported only for debugging, but there is little reason
to do it now that the timekeeping is supported by various other variables.
For the time being just comment out the sysctl, but I think this
should go away.
-rw-r--r-- | sys/netinet/ip_dummynet.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/ip_dummynet.c b/sys/netinet/ip_dummynet.c index af87360..4c7f60a 100644 --- a/sys/netinet/ip_dummynet.c +++ b/sys/netinet/ip_dummynet.c @@ -160,8 +160,10 @@ SYSCTL_DECL(_net_inet_ip); SYSCTL_NODE(_net_inet_ip, OID_AUTO, dummynet, CTLFLAG_RW, 0, "Dummynet"); SYSCTL_INT(_net_inet_ip_dummynet, OID_AUTO, hash_size, CTLFLAG_RW, &dn_hash_size, 0, "Default hash table size"); +#if 0 /* curr_time is 64 bit */ SYSCTL_LONG(_net_inet_ip_dummynet, OID_AUTO, curr_time, CTLFLAG_RD, &curr_time, 0, "Current tick"); +#endif SYSCTL_INT(_net_inet_ip_dummynet, OID_AUTO, ready_heap, CTLFLAG_RD, &ready_heap.size, 0, "Size of ready heap"); SYSCTL_INT(_net_inet_ip_dummynet, OID_AUTO, extract_heap, |