mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-17 00:18:53 -04:00
Correctly set the value of covered in dns_ncache_current
Fix the type and rdclass being passed to dns_rdata_tostruct so
that rrsig.covered is correctly set.
(cherry picked from commit 779980710c)
This commit is contained in:
parent
38b4648f6b
commit
426b575680
1 changed files with 1 additions and 1 deletions
|
|
@ -754,7 +754,7 @@ dns_ncache_current(dns_rdataset_t *ncacherdataset, dns_name_t *found,
|
|||
raw += 2;
|
||||
sigregion.base = raw;
|
||||
dns_rdata_reset(&rdata);
|
||||
dns_rdata_fromregion(&rdata, rdataset->rdclass, rdataset->type,
|
||||
dns_rdata_fromregion(&rdata, ncacherdataset->rdclass, type,
|
||||
&sigregion);
|
||||
(void)dns_rdata_tostruct(&rdata, &rrsig, NULL);
|
||||
rdataset->covers = rrsig.covered;
|
||||
|
|
|
|||
Loading…
Reference in a new issue