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

layer/iterate: cname chain processing has been fixed

parent 318ed136
Branches
Tags
1 merge request!96layer/validate: refactoring
......@@ -523,6 +523,10 @@ static int process_answer(knot_pkt_t *pkt, struct kr_request *req)
if (state != kr_ok()) {
return KR_STATE_FAIL;
}
if (!req->answ_selected.at[i]->to_wire) {
/* TODO relocate this record at the end */
req->answ_selected.at[i]->to_wire = true;
}
finalize_answer(pkt, query, req);
return KR_STATE_DONE;
}
......
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