fix typo in previos commit.

This commit is contained in:
Hajimu UMEMOTO 2005-05-02 09:42:59 +00:00
parent 4e5a7758f6
commit 322b21739f

View File

@ -166,10 +166,10 @@ ypproc_match_2_svc(ypreq_key *argp, struct svc_req *rqstp)
#ifdef DB_CACHE
if (result.stat != YP_TRUE &&
(yp_testflag(argp->map, argp->domain, YP_INTERDOMAIN) ||
((strstr(argp->map, "hosts") || strstr(argp->map, "ipnode")) && do_dns))) {
((strstr(argp->map, "hosts") || strstr(argp->map, "ipnodes")) && do_dns))) {
#else
if (do_dns && result.stat != YP_TRUE &&
(strstr(argp->map, "hosts") || strstr(argp->map, "ipnode"))) {
(strstr(argp->map, "hosts") || strstr(argp->map, "ipnodes"))) {
#endif
char nbuf[YPMAXRECORD];