mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 07:32:09 -04: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:
parent
fd2597f756
commit
0316be2d77
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue