Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 08/09/2000 17:28:52
Module Name: basesrc
Committed By: itojun
Date: Wed Aug 9 14:28:51 UTC 2000
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
To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 basesrc/usr.sbin/lpr/common_source/common.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.