From owner-freebsd-bugs Sat Nov 15 14:30:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA14189 for bugs-outgoing; Sat, 15 Nov 1997 14:30:05 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA14152; Sat, 15 Nov 1997 14:30:01 -0800 (PST) (envelope-from gnats) Date: Sat, 15 Nov 1997 14:30:01 -0800 (PST) Message-Id: <199711152230.OAA14152@hub.freebsd.org> To: freebsd-bugs Cc: From: Bill Fenner Subject: Re: bin/5047: ipfw(8) IP address resolving problem if only /etc/hosts used Reply-To: Bill Fenner Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/5047; it has been noted by GNATS. From: Bill Fenner To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: bin/5047: ipfw(8) IP address resolving problem if only /etc/hosts used Date: Sat, 15 Nov 1997 14:22:58 PST Perhaps the real solution is to copy the code from gethostbydns.c which returns a fake hostent if the input looks like a parsable address into gethostbyname2(), so that gethostbyname()'s behavior is consistent no matter what the contents of /etc/host.conf . Bill