Skip to content
Snippets Groups Projects
Commit 57cbf514 authored by Grigorii Demidov's avatar Grigorii Demidov Committed by Ondřej Surý
Browse files

lib/resolve: fix zonecut fetching for explicit DS queries

parent 3c2ea7cb
Branches
Tags
2 merge requests!2571.2 merge master,!212WIP: sync NEWS etc.
......@@ -917,6 +917,9 @@ static int zone_cut_check(struct kr_request *request, struct kr_query *qry, knot
if (parent[0] != '\0' && knot_dname_in(parent, qry->sname)) {
requested_name = knot_wire_next_label(parent, NULL);
}
} else if ((qry->stype == KNOT_RRTYPE_DS) && (qry->sname[0] != '\0')) {
/* If this is explicit DS query, start from encloser too. */
requested_name = knot_wire_next_label(requested_name, NULL);
}
int state = KR_STATE_FAIL;
......
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