Commit 746044fe authored by Vladimír Čunát's avatar Vladimír Čunát

don't set TC if omitting an ADDITIONAL record

This is a nitpick, basically.
parent 83b8ba1d
......@@ -463,7 +463,7 @@ static int answer_prepare(struct kr_request *req, knot_pkt_t *query)
static int write_extra_records(const rr_array_t *arr, uint16_t reorder, knot_pkt_t *answer)
{
for (size_t i = 0; i < arr->len; ++i) {
int err = knot_pkt_put_rotate(answer, 0, arr->at[i], reorder, 0);
int err = knot_pkt_put_rotate(answer, 0, arr->at[i], reorder, KNOT_PF_NOTRUNC);
if (err != KNOT_EOK) {
return err == KNOT_ESPACE ? kr_ok() : kr_error(err);
}
......
Markdown is supported
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