Subject: Re: CVS commit: basesrc
To: Jun-ichiro itojun Hagino <itojun@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-userlevel
Date: 08/09/2000 09:57:45
On Wed, Aug 09, 2000 at 05:28:52PM +0300, Jun-ichiro itojun Hagino wrote:

 > Modified Files:
 > 	basesrc/usr.sbin/lpr/common_source: common.c
 > 
 > Log Message:
 > rewrite local address detection code, to use getifaddrs(3), not gethostname(3).
 > gethostname(3) do not necessarily represent local host addrses.
 > pointed out by: Chuck Cranor

Yes, and there is TONS of code in the tree that assumes that gethostname(3)
returns something that == a host address.  We really need a full audit of
this.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>