Replace a constant with an already defined symbolic name for it.
Tested with: md5(1)
This commit is contained in:
parent
dba3c50842
commit
22b971db87
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170435
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user