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:
@@ -956,7 +956,8 @@ make_log_buf(dns_rrl_t *rrl, dns_rrl_entry_t *e, const char *str1,
|
||||
}
|
||||
if (qname != NULL) {
|
||||
ADD_LOG_CSTR(&lb, " for ");
|
||||
(void)dns_name_totext(qname, true, &lb);
|
||||
(void)dns_name_totext(qname, DNS_NAME_OMITFINALDOT,
|
||||
&lb);
|
||||
} else {
|
||||
ADD_LOG_CSTR(&lb, " for (?)");
|
||||
}
|
||||
|
Reference in New Issue
Block a user