+2007-01-31 Corinna Vinschen <corinna@vinschen.de>
+
+ * net.cc (cygwin_getaddrinfo): Fix thinko in AI_ADDRCONFIG handling.
+
2007-01-31 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_getaddrinfo): Check ai_flags for valid values.
apparently for performance reasons. To get the POSIX default
behaviour, the AI_ALL flag has to be set. */
if (wincap.has_gaa_on_link_prefix ()
- && hints && (hints->ai_flags & AI_ADDRCONFIG)
- && hints->ai_family == PF_UNSPEC)
+ && hints && hints->ai_family == PF_UNSPEC)
{
nhints = *hints;
hints = &nhints;