Subject: Multiple IP addresses for a single host in "/etc/hosts"
To: None <tech-net@netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: tech-net
Date: 05/30/1999 23:14:11
	Hello,

if a host has multiple entries in "/etc/hosts" right now gethostbyname()
returns only the first IP address. I think about enhancing _gethtbyname2()
to build a "struct hostent *" with all IP addresses. To maintain backward
compatibility the IP addresses will be in exact the same order as in
"/etc/hosts". Opinions?

	Regards

-- 
Matthias Scheler                                http://home.owl.de/~tron/