Tweak code (reviewed by Mark)

(cherry picked from commit cdabd36dc7)
This commit is contained in:
Mukund Sivaraman 2017-09-01 12:41:13 +05:30
parent b301c4293c
commit 836601ccc5

View file

@ -465,8 +465,8 @@ towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name,
dns_name_copy(owner_name, name, NULL);
dns_rdataset_getownercase(rdataset, name);
if ((owner_name->attributes & DNS_NAMEATTR_NOCOMPRESS) != 0)
name->attributes |= DNS_NAMEATTR_NOCOMPRESS;
name->attributes |= owner_name->attributes &
DNS_NAMEATTR_NOCOMPRESS;
do {
/*