Skip to content
Snippets Groups Projects
Commit df0ca867 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

internet: rclass != rtype

parent 6489550a
Branches
Tags
No related merge requests found
......@@ -78,7 +78,7 @@ static int dname_cname_synth(const knot_rrset_t *dname_rr,
if (owner_copy == NULL) {
return KNOT_ENOMEM;
}
knot_rrset_init(cname_rrset, owner_copy, KNOT_RRTYPE_CNAME, dname_rr->type);
knot_rrset_init(cname_rrset, owner_copy, KNOT_RRTYPE_CNAME, dname_rr->rclass);
/* Replace last labels of qname with DNAME. */
const knot_dname_t *dname_wire = dname_rr->owner;
......
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