From a2256e899b7c122169b9c50e8cb92ac6fc51e95b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 31 Jan 2009 20:17:41 +0000 Subject: - ares_gethostbyname() now accepts 'AF_UNSPEC' as a family for resolving either AF_INET6 or AF_INET. It works by accepting any of the looksups in the hosts file, and it resolves the AAAA field with a fallback to A. --- ares/RELEASE-NOTES | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ares/RELEASE-NOTES') diff --git a/ares/RELEASE-NOTES b/ares/RELEASE-NOTES index 8b5aa49fb..761121be5 100644 --- a/ares/RELEASE-NOTES +++ b/ares/RELEASE-NOTES @@ -2,8 +2,10 @@ This is what's new and changed in the c-ares 1.6.1 release: Changed: - o in6_addr is not used in ares.h anymore, but a private ares_in6_addr is instead - declared and used + o in6_addr is not used in ares.h anymore, but a private ares_in6_addr is + instead declared and used + p ares_gethostbyname() now supports 'AF_UNSPEC' as a family for resolving + either AF_INET6 or AF_INET Fixed: -- cgit v1.2.3