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
d3e74983bb
commit
07a4d63fd9
1 changed files with 2 additions and 1 deletions
|
|
@ -8893,7 +8893,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