1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

fix typo in previos commit.

This commit is contained in:
Hajimu UMEMOTO 2005-05-02 09:42:59 +00:00
parent 4e5a7758f6
commit 322b21739f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145793

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];