Commit 2a264404 authored by Jan Včelák's avatar Jan Včelák 🚀

contents: real previous node from zone search

Don't require the node to be authoritative. This is need for DNSSEC
proofs and this should be handled there.
parent e6b72f7f
......@@ -118,12 +118,6 @@ int zone_tree_get_less_or_equal(zone_tree_t *tree,
/* Previous node for proof must be non-empty and authoritative. */
if (*previous &&
((*previous)->rrset_count == 0 || (*previous)->flags & NODE_FLAGS_NONAUTH)) {
*previous = (*previous)->prev;
return exact_match;
Markdown is supported
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