Skip to content
Snippets Groups Projects
Commit 5ad65890 authored by Grigorii Demidov's avatar Grigorii Demidov
Browse files

lib/resolve: zonecut fetching error was fixed

parent 6db278b7
No related branches found
No related tags found
No related merge requests found
......@@ -186,6 +186,7 @@ static int ns_fetch_cut(struct kr_query *qry, const knot_dname_t *requested_name
/* It can occur that here parent query already have
* provably insecured zonecut which not in the cache yet. */
const bool is_insecured = ((qry->parent != NULL) &&
(qry->parent->flags & (QUERY_AWAIT_IPV4 | QUERY_AWAIT_IPV6)) == 0 &&
(qry->parent->flags & QUERY_DNSSEC_INSECURE) != 0);
/* Want DNSSEC if it's possible to secure this name
......
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