From 91e808f1db0b76f3625f516ec73a95b4e32decb2 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 17 May 2020 18:07:58 +0000 Subject: Add s6-dnsip, prepare for 2.3.3.0, fix resolvenoq_aaaaa TODO: resolveq_aaaaa returns the best (1 answer) whereas we want both ip6 and ip4 when available. It works with noq, it should work with q too. --- doc/libs6dns/s6dns-resolve.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/libs6dns') diff --git a/doc/libs6dns/s6dns-resolve.html b/doc/libs6dns/s6dns-resolve.html index 69596f8..5d021aa 100644 --- a/doc/libs6dns/s6dns-resolve.html +++ b/doc/libs6dns/s6dns-resolve.html @@ -191,7 +191,7 @@ Returns -1 if an error occurs, or 0 if no answer can be obtained from servers, or a positive number if it succeeds: 1 if IPv4 addresses were found, 2 if IPv6 addresses were found, and 3 if both were found. The IPs are appended to the genalloc *ips, which contains an array of -ip46_t, the skalibs structure used to store IPv4 and IPv6 addresses +ip46full_t, the skalibs structure used to store IPv4 and IPv6 addresses indiscriminately.

@@ -222,7 +222,7 @@ appended to the genalloc *ds, which contains an array of s6dns_doma

- int s6dns_resolve_name46_g (genalloc *ds, ip46_t const *ip, tain_t const *deadline)
+ int s6dns_resolve_name46_g (genalloc *ds, ip46full_t const *ip, tain_t const *deadline)
Calls s6dns_resolve_name6_g() or s6dns_resolve_name4_g() depending on which ip is an IPv6 or IPv4 address.

-- cgit v1.3.1