Skip to content
Snippets Groups Projects
Commit e1254dbd authored by Jan Kadlec's avatar Jan Kadlec Committed by Lubos Slovak
Browse files

Fixed user reported bug.

- Unknown types lower than TYPE251 could not be used.
parent 31d46271
Branches
Tags
No related merge requests found
......@@ -388,12 +388,14 @@ static knot_rrtype_descriptor_t
/* it is indeed needed, in rrtype_from_string */
/* There's a GNU extension that works like this: [first ... last] = value */
[53 ... 98] = { 0, NULL, 1, { KNOT_RDATA_WF_BINARY }, { KNOT_RDATA_ZF_UNKNOWN }, true },
/* 99 */
[99] = { KNOT_RRTYPE_SPF, "SPF", 1,
{ KNOT_RDATA_WF_TEXT },
{ KNOT_RDATA_ZF_TEXT }, false },
/* TSIG pseudo RR. */
[100 ... 249] = { 0, NULL, 1, { KNOT_RDATA_WF_BINARY }, { KNOT_RDATA_ZF_UNKNOWN }, true },
[250] = { KNOT_RRTYPE_TSIG, "TSIG", 7,
{ KNOT_RDATA_WF_UNCOMPRESSED_DNAME, KNOT_RDATA_WF_UINT48,
KNOT_RDATA_WF_SHORT, KNOT_RDATA_WF_BINARYWITHSHORT,
......
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