Skip to content
Snippets Groups Projects
Commit 9ca07efc authored by Vitezslav Kriz's avatar Vitezslav Kriz
Browse files

fix incorrect type bitmap in NSEC

parents a0d0f377 2f36a4f9
No related branches found
No related tags found
1 merge request!604fix incorrect type bitmap in NSEC
......@@ -409,7 +409,7 @@ static int check_rrsig(const zone_node_t *node, semchecks_data_t *data)
static void bitmap_add_all_node_rrsets(dnssec_nsec_bitmap_t *bitmap,
const zone_node_t *node)
{
bool deleg = node->flags && NODE_FLAGS_DELEG;
bool deleg = node->flags & NODE_FLAGS_DELEG;
for (int i = 0; i < node->rrset_count; i++) {
knot_rrset_t rr = node_rrset_at(node, i);
if (deleg && (rr.type != KNOT_RRTYPE_NS &&
......
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