Commit 902c1292 authored by Mark Andrews's avatar Mark Andrews
Browse files

Adjust range limit of unknown meta types

(cherry picked from commit 092a159d)
parent 0af23f70
Pipeline #46318 passed with stages
in 44 minutes and 57 seconds
......@@ -1299,8 +1299,9 @@ unsigned int
dns_rdatatype_attributes(dns_rdatatype_t type)
{
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);
}
......
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