Change the (acl)->node_count macro to dns_acl_node_count(acl) macro to clean the global namespace

This commit is contained in:
Ondřej Surý
2019-12-06 15:47:39 +01:00
parent fe31fedc31
commit 8120088ec7
4 changed files with 16 additions and 15 deletions

View File

@@ -921,8 +921,8 @@ nested_acl:
dns_acl_detach(&de->nestedacl);
}
dacl->node_count++;
de->node_num = dacl->node_count;
dns_acl_node_count(dacl)++;
de->node_num = dns_acl_node_count(dacl);
dacl->length++;
de++;