mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 07:22:08 -04:00
Adjust range limit of unknown meta types
This commit is contained in:
parent
13321a20ce
commit
092a159dcd
1 changed files with 1 additions and 1 deletions
|
|
@ -1286,7 +1286,7 @@ dns_rdata_checknames(dns_rdata_t *rdata, const dns_name_t *owner,
|
|||
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue