diff options
| author | Mike Smith <msmith@FreeBSD.org> | 1999-07-05 08:46:55 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 1999-07-05 08:46:55 +0000 |
| commit | 35ec852af52f53433efb183e687880e319e188c2 (patch) | |
| tree | e05bd4865ab4abfb04806e4c7ef90969857a09b1 /sys/netinet/tcp_subr.c | |
| parent | 9f6f6f715cf39354332a262d97c868470a9fd097 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_subr.c')
| -rw-r--r-- | sys/netinet/tcp_subr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 7560313b6e01..2dcee7bb90e2 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95 - * $Id: tcp_subr.c,v 1.54 1999/05/03 23:57:31 billf Exp $ + * $Id: tcp_subr.c,v 1.55 1999/06/16 19:05:17 tegge Exp $ */ #include "opt_compat.h" @@ -134,8 +134,7 @@ tcp_init() tcp_cleartaocache(); LIST_INIT(&tcb); tcbinfo.listhead = &tcb; - if (!(getenv_int("net.inet.tcp.tcbhashsize", &hashsize))) - hashsize = TCBHASHSIZE; + TUNABLE_INT_FETCH("net.inet.tcp.tcbhashsize", TCBHASHSIZE, hashsize); if (!powerof2(hashsize)) { printf("WARNING: TCB hash size not a power of 2\n"); hashsize = 512; /* safe default */ |
