mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Add NSEC for opt-out names
When switching from NSEC3 opt-out to NSEC, add NSEC records if we saw an RR. This corrects a mistake in style cleanups done in commit308ab1b4a5. (cherry picked from commit6f285bff6a)
This commit is contained in:
parent
0a0f71d511
commit
4e82584b73
1 changed files with 2 additions and 1 deletions
|
|
@ -9038,7 +9038,8 @@ zone_nsec3chain(dns_zone_t *zone) {
|
|||
seen_nsec = true;
|
||||
} else if (rdataset.type == dns_rdatatype_nsec3) {
|
||||
seen_nsec3 = true;
|
||||
} else if (rdataset.type != dns_rdatatype_rrsig) {
|
||||
}
|
||||
if (rdataset.type != dns_rdatatype_rrsig) {
|
||||
seen_rr = true;
|
||||
}
|
||||
dns_rdataset_disassociate(&rdataset);
|
||||
|
|
|
|||
Loading…
Reference in a new issue