mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-24 12:04:38 +00:00
Remove duplicate configured trust anchors.
Well-known trust anchors can turn up in multiple config files. Leaving the duplicates makes logging messy and costs some CPU checking the same DS twice.
This commit is contained in:
2 files changed
+22
-4
No files matched your search
+1
-1
@@ -1600,7 +1600,7 @@ void cache_reload(void)
|
||||
|
||||
#ifdef HAVE_DNSSEC
|
||||
for (ds = daemon->ds; ds; ds = ds->next)
|
||||
if ((cache = get_config_crec()))
|
||||
if (ds->name && (cache = get_config_crec()))
|
||||
{
|
||||
|
||||
if (!(cache->addr.ds.keydata = blockdata_alloc(ds->digest, ds->digestlen)))
|
||||
|
||||
Reference in new issue
Block a user