Pull up following revision(s) (requested by christos in ticket #919):
usr.sbin/ypserv/ypserv/ypserv_proc.c: revision 1.17 PR/50057: Wolfgang Stukenbrock: yp-map transfer removes SECURE-flag
This commit is contained in:
parent
06cb46469b
commit
907cefd2ba
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ypserv_proc.c,v 1.16 2011/08/30 17:06:22 plunky Exp $ */
|
||||
/* $NetBSD: ypserv_proc.c,v 1.16.20.1 2015/07/31 17:06:56 snj Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: ypserv_proc.c,v 1.16 2011/08/30 17:06:22 plunky Exp $");
|
||||
__RCSID("$NetBSD: ypserv_proc.c,v 1.16.20.1 2015/07/31 17:06:56 snj Exp $");
|
||||
#endif
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
@ -166,7 +166,7 @@ ypproc_match_2_svc(void *argp, struct svc_req *rqstp)
|
|||
if (secure && securecheck(caller))
|
||||
res.status = YP_YPERR;
|
||||
else
|
||||
res = ypdb_get_record(k->domain, k->map, k->keydat, FALSE);
|
||||
res = ypdb_get_record(k->domain, k->map, k->keydat, secure);
|
||||
|
||||
return ((void *)&res);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue