aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/yp_server.c
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2005-05-02 09:42:59 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2005-05-02 09:42:59 +0000
commit322b21739f79e0933d086611db8af31288ec6706 (patch)
treeafa7a2847408293b969d179284daaa97e366590e /usr.sbin/ypserv/yp_server.c
parent4e5a7758f63e00f98b845990662681189fab049b (diff)
downloadsrc-322b21739f79e0933d086611db8af31288ec6706.tar.gz
src-322b21739f79e0933d086611db8af31288ec6706.zip
Notes
Diffstat (limited to 'usr.sbin/ypserv/yp_server.c')
-rw-r--r--usr.sbin/ypserv/yp_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypserv/yp_server.c b/usr.sbin/ypserv/yp_server.c
index 8bd658be39ef..c76a804383c7 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];