From a77586e165daef1281c24cb4a3aa6e513f9c35ea Mon Sep 17 00:00:00 2001 From: ume Date: Mon, 2 May 2005 09:42:59 +0000 Subject: fix typo in previos commit. --- usr.sbin/ypserv/yp_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ypserv') diff --git a/usr.sbin/ypserv/yp_server.c b/usr.sbin/ypserv/yp_server.c index 8bd658b..c76a804 100644 --- a/usr.sbin/ypserv/yp_server.c +++ b/usr.sbin/ypserv/yp_server.c @@ -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]; -- cgit v1.1