Subject: Re: Possible bug in get_DNS_AdaptersAddresses

Re: Possible bug in get_DNS_AdaptersAddresses

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 23 Aug 2012 00:13:11 +0200 (CEST)

On Thu, 28 Jun 2012, Saúl Ibarra Corretgé wrote:

> While going through the code in get_DNS_AdaptersAddresses I found what could
> be a bug when dealing with IPv6 addresses.
>
> Here: https://github.com/bagder/c-ares/blob/master/ares_init.c#L1018
> are_inet_ntop is called with AF_INET as the family, shouldn't it be AF_INET6
> ?

Thanks a lot, fixed and pushed just now!

-- 
  / daniel.haxx.se
Received on 2012-08-23