mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Convert DNS_RDATASETATTR_ bitfield manipulation to struct of bools
RRset ordering is now an enum inside struct rdataset attributes. This was done to keep size to of the structure to its original value before this MR. I expect zero performance impact but it should be easier to deal with attributes in debuggers and language servers.
This commit is contained in:
@@ -1110,7 +1110,7 @@ db_find:
|
||||
* addresses we use the configured server addresses.
|
||||
*/
|
||||
if (dns_zone_gettype(zone) == dns_zone_staticstub) {
|
||||
rdataset->attributes |= DNS_RDATASETATTR_STATICSTUB;
|
||||
rdataset->attributes.staticstub = true;
|
||||
}
|
||||
|
||||
if (use_cache && view->cachedb != NULL && db != view->hints) {
|
||||
|
Reference in New Issue
Block a user