diff options
| author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2007-06-08 13:43:28 +0000 |
|---|---|---|
| committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2007-06-08 13:43:28 +0000 |
| commit | 22b971db877be14d33b832f3cf481c2c2765450c (patch) | |
| tree | facf7c8ea2469220b717d0eb8bfe8009fb2885fe /sys/netinet/tcp_hostcache.c | |
| parent | dba3c508423366f7ead9e268b8aeb2da05fdd586 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_hostcache.c')
| -rw-r--r-- | sys/netinet/tcp_hostcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_hostcache.c b/sys/netinet/tcp_hostcache.c index 0975639fe862..97b9f466f0dd 100644 --- a/sys/netinet/tcp_hostcache.c +++ b/sys/netinet/tcp_hostcache.c @@ -222,7 +222,7 @@ tcp_hc_init(void) &tcp_hostcache.bucket_limit); if (!powerof2(tcp_hostcache.hashsize)) { printf("WARNING: hostcache hash size is not a power of 2.\n"); - tcp_hostcache.hashsize = 512; /* safe default */ + tcp_hostcache.hashsize = TCP_HOSTCACHE_HASHSIZE; /* default */ } tcp_hostcache.hashmask = tcp_hostcache.hashsize - 1; |
