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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user