Skip to content
Snippets Groups Projects
Commit c443e9da authored by Daniel Salzman's avatar Daniel Salzman
Browse files

nsec: fix merge (renamed function)

parent ebb758e2
No related branches found
No related tags found
No related merge requests found
......@@ -695,8 +695,7 @@ static int ns_put_nsec_nsec3_nodata(const knot_node_t *node,
knot_pkt_t *resp)
{
// This case must be handled first, before handling the wildcard case
if (knot_node_rrset_count(node) == 0
&& !knot_zone_contents_nsec3_enabled(zone)) {
if (knot_node_rrset_count(node) == 0 && !knot_is_nsec3_enabled(zone)) {
// node is an empty non-terminal => NSEC for NXDOMAIN
return ns_put_nsec_nxdomain(qname, zone, previous,
closest_encloser, resp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment