2
0
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:
Evan Hunt
2015-10-07 00:28:17 -07:00
parent fd2597f756
commit 0316be2d77

View File

@@ -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);
}