Skip to content
Snippets Groups Projects
Commit 287dbc1f authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

rrset: fix compression hint writing for names in RDATA

Fixes unexpanded wildcard appearance in Additional section.
parent 1ce9bb96
No related branches found
No related tags found
No related merge requests found
......@@ -200,7 +200,7 @@ static int write_rdata_dname(uint8_t **src, size_t *src_avail,
/* Update compression hints */
if (compr_get_ptr(compr, compr_hint)) {
if (compr_get_ptr(compr, compr_hint) == 0) {
compr_set_ptr(compr, compr_hint, *wire, written);
}
......
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