Skip to content
Snippets Groups Projects
Commit d86405f2 authored by Jan Kadlec's avatar Jan Kadlec
Browse files

Fixed wrong RRSIGs added for previous nodes.

parent 4aba0644
Branches
Tags
No related merge requests found
......@@ -544,7 +544,8 @@ dbg_ns_exec_verb(
if (prev_new != previous) {
rrset = knot_node_get_rrset(prev_new, KNOT_RRTYPE_NSEC);
if (rrset == NULL || knot_rrset_rdata_rr_count(rrset) == 0) {
rrsigs = knot_node_get_rrset(prev_new, KNOT_RRTYPE_RRSIG);
if (rrset == NULL) {
// bad zone, ignore
return KNOT_EOK;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment