Commit 092a159d authored by Mark Andrews's avatar Mark Andrews
Browse files

Adjust range limit of unknown meta types

parent 13321a20
Pipeline #46305 passed with stages
in 56 minutes and 33 seconds
...@@ -1286,7 +1286,7 @@ dns_rdata_checknames(dns_rdata_t *rdata, const dns_name_t *owner, ...@@ -1286,7 +1286,7 @@ dns_rdata_checknames(dns_rdata_t *rdata, const dns_name_t *owner,
unsigned int unsigned int
dns_rdatatype_attributes(dns_rdatatype_t type) { dns_rdatatype_attributes(dns_rdatatype_t type) {
RDATATYPE_ATTRIBUTE_SW RDATATYPE_ATTRIBUTE_SW
if (type >= (dns_rdatatype_t)128 && type < (dns_rdatatype_t)255) { if (type >= (dns_rdatatype_t)128 && type <= (dns_rdatatype_t)255) {
return (DNS_RDATATYPEATTR_UNKNOWN | DNS_RDATATYPEATTR_META); return (DNS_RDATATYPEATTR_UNKNOWN | DNS_RDATATYPEATTR_META);
} }
return (DNS_RDATATYPEATTR_UNKNOWN); return (DNS_RDATATYPEATTR_UNKNOWN);
......
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