mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
[master] restore test for unknown meta types
- this test was incorrectly removed from the 9.11 branch some time ago, but has remained in the maintenance branches
This commit is contained in:
@@ -1254,6 +1254,8 @@ unsigned int
|
||||
dns_rdatatype_attributes(dns_rdatatype_t type)
|
||||
{
|
||||
RDATATYPE_ATTRIBUTE_SW
|
||||
if (type >= (dns_rdatatype_t)128 && type < (dns_rdatatype_t)255)
|
||||
return (DNS_RDATATYPEATTR_UNKNOWN | DNS_RDATATYPEATTR_META);
|
||||
return (DNS_RDATATYPEATTR_UNKNOWN);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user