mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Tweak heuristic for initial DNSSEC memory allocation.
This commit is contained in:
@@ -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 */
|
/* Note that daemon->cachesize is enforced to have non-zero size if OPT_DNSSEC_VALID is set */
|
||||||
if (option_bool(OPT_DNSSEC_VALID))
|
if (option_bool(OPT_DNSSEC_VALID))
|
||||||
blockdata_expand((daemon->cachesize * 100) / sizeof(struct blockdata));
|
blockdata_expand(daemon->cachesize);
|
||||||
}
|
}
|
||||||
|
|
||||||
void blockdata_report(void)
|
void blockdata_report(void)
|
||||||
|
|||||||
Reference in New Issue
Block a user