From cb4eacf0ac1f410fbcaa62cb849f601b3b97573d Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 17 Jul 2015 15:58:01 +0000 Subject: [PATCH] PR/50057: Wolfgang Stukenbrock: yp-map transfer removes SECURE-flag --- usr.sbin/ypserv/ypserv/ypserv_proc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/ypserv/ypserv/ypserv_proc.c b/usr.sbin/ypserv/ypserv/ypserv_proc.c index 6b2821b90de4..fdf4603b322a 100644 --- a/usr.sbin/ypserv/ypserv/ypserv_proc.c +++ b/usr.sbin/ypserv/ypserv/ypserv_proc.c @@ -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.17 2015/07/17 15:58:01 christos Exp $ */ /* * Copyright (c) 1994 Mats O Jansson @@ -28,7 +28,7 @@ #include #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.17 2015/07/17 15:58:01 christos Exp $"); #endif #include @@ -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); }