Subject: Possible bug in get_DNS_AdaptersAddresses

Possible bug in get_DNS_AdaptersAddresses

From: Saúl Ibarra Corretgé <saghul_at_gmail.com>
Date: Thu, 28 Jun 2012 08:48:22 +0200

Hi,

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 ?

Regards,

--
Saúl Ibarra Corretgé
http://saghul.net | http://about.me/saghul
Received on 2012-06-28