Date: Sat, 15 Nov 1997 14:30:01 -0800 (PST) From: Bill Fenner <fenner@parc.xerox.com> To: freebsd-bugs Subject: Re: bin/5047: ipfw(8) IP address resolving problem if only /etc/hosts used Message-ID: <199711152230.OAA14152@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/5047; it has been noted by GNATS. From: Bill Fenner <fenner@parc.xerox.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711152230.OAA14152>