freebsd-dev/usr.sbin/ypserv
Bill Paul 9934af38df Fix for PR #4147: apparently BIND now returns a status of NO_RECOVERY
at the end of gethostanswer()/getanswer()/whatever where it used to
return TRY_AGAIN. This breaks the domain list traversal in ypserv's
async DNS lookup module: it would only retry using the domain(s) from
the 'domain' or 'search' lines in /etc/resolv.conf if __dns_getanswer()
returned TRY_AGAIN.

Changed the test so that either TRY_AGAIN or NO_RECOVERY will work.
This seemed to me the best solution in the event somebody tries to
compile this code on an older system with a different version of BIND.
(You shouldn't do that of course, but then there's a lot of things
in the world that you shouldn't do and people do them anyway.)
1997-07-28 14:13:57 +00:00
..
Makefile Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Makefile.yp Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
yp_access.c Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
yp_dblookup.c Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
yp_dnslookup.c Fix for PR #4147: apparently BIND now returns a status of NO_RECOVERY 1997-07-28 14:13:57 +00:00
yp_error.c Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
yp_extern.h Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
yp_main.c compare return value from getopt against -1 rather than EOF, per the final 1997-03-31 05:11:47 +00:00
yp_server.c Fix a very stupid heap corruption bug: in ypproc_match_2_svc(), when 1997-07-21 17:39:39 +00:00
yp_svc_udp.c Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
ypserv.8 fix some typos, and some slight clean up... 1997-04-15 07:41:10 +00:00