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

libdns refactoring: get rid of two versions of dns_byaddr_createptrname

This commit is contained in:
Witold Kręcicki
2018-04-03 13:10:07 +02:00
parent f0a07b7546
commit d76ed0da1c
8 changed files with 9 additions and 27 deletions

View File

@@ -1004,7 +1004,7 @@ get_reverse(char *reverse, size_t len, const char *value,
options |= DNS_BYADDROPT_IPV6INT;
dns_fixedname_init(&fname);
name = dns_fixedname_name(&fname);
result = dns_byaddr_createptrname2(&addr, options, name);
result = dns_byaddr_createptrname(&addr, options, name);
CHECK("dns_byaddr_createptrname2", result);
dns_name_format(name, reverse, (unsigned int)len);
return;