Commit 6340ca73 authored by Simon Kelley's avatar Simon Kelley

Tweak heuristic for initial DNSSEC memory allocation.

parent baf553db
......@@ -49,7 +49,7 @@ void blockdata_init(void)
/* Note that daemon->cachesize is enforced to have non-zero size if OPT_DNSSEC_VALID is set */
if (option_bool(OPT_DNSSEC_VALID))
blockdata_expand((daemon->cachesize * 100) / sizeof(struct blockdata));
blockdata_expand(daemon->cachesize);
}
void blockdata_report(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment