mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
Remove redundant dns_name_settotextfilter() call
There is no need to call dns_name_settotextfilter() in setup_system() because setup_lookup() determines whether IDN output processing should be enabled for a specific lookup (taking the global setting into consideration) and calls dns_name_settotextfilter() anyway if it is. Remove the dns_name_settotextfilter() call from setup_system().
This commit is contained in:
@@ -1290,12 +1290,6 @@ setup_system(isc_boolean_t ipv4only, isc_boolean_t ipv6only) {
|
|||||||
(void)setlocale(LC_ALL, "");
|
(void)setlocale(LC_ALL, "");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LIBIDN2
|
|
||||||
/* Set domain name -> text post-conversion filter. */
|
|
||||||
result = dns_name_settotextfilter(output_filter);
|
|
||||||
check_result(result, "dns_name_settotextfilter");
|
|
||||||
#endif /* HAVE_LIBIDN2 */
|
|
||||||
|
|
||||||
if (keyfile[0] != 0)
|
if (keyfile[0] != 0)
|
||||||
setup_file_key();
|
setup_file_key();
|
||||||
else if (keysecret[0] != 0)
|
else if (keysecret[0] != 0)
|
||||||
|
Reference in New Issue
Block a user