Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 01/17/2000 07:57:29
Module Name:	basesrc
Committed By:	itojun
Date:		Mon Jan 17 15:57:29 UTC 2000

Modified Files:
	basesrc/lib/libc/net: getaddrinfo.c

Log Message:
do not filter address families that are not supported by kernel.
the behavior was introduced in 1.8 -> 1.9, by itojun, and it was
not a correct behavior.

even if we may be able to connect to the the returned addresses,
filtering them out is not a correct thing to do.  for example, even if
you have partial unreachablility in IPv4, gethostbyname(3) will return
IPv4 addresses in the unreachable network nonetheless.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 basesrc/lib/libc/net/getaddrinfo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.