2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

remove dns_name_totext2() and dns_name_toprincipal()

we can pass option flags to dns_name_totext() to get the same
results, and eliminate the extra function names.
This commit is contained in:
Evan Hunt
2023-08-15 18:52:17 -07:00
parent 62d70966f2
commit 8bda38e7d4
46 changed files with 199 additions and 181 deletions

View File

@@ -551,7 +551,7 @@ dns_ntatable_save(dns_ntatable_t *ntatable, FILE *fp) {
}
isc_buffer_init(&b, nbuf, sizeof(nbuf));
result = dns_name_totext(n->name, false, &b);
result = dns_name_totext(n->name, 0, &b);
if (result != ISC_R_SUCCESS) {
continue;
}