Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/ypserv/ypserv PR/50057: Wolfgang Stukenbrock: yp-ma...



details:   https://anonhg.NetBSD.org/src/rev/4d86724b7b03
branches:  trunk
changeset: 339370:4d86724b7b03
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jul 17 15:58:01 2015 +0000

description:
PR/50057: Wolfgang Stukenbrock: yp-map transfer removes SECURE-flag

diffstat:

 usr.sbin/ypserv/ypserv/ypserv_proc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5707235d3ddb -r 4d86724b7b03 usr.sbin/ypserv/ypserv/ypserv_proc.c
--- a/usr.sbin/ypserv/ypserv/ypserv_proc.c      Fri Jul 17 15:24:27 2015 +0000
+++ b/usr.sbin/ypserv/ypserv/ypserv_proc.c      Fri Jul 17 15:58:01 2015 +0000
@@ -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 <moj%stacken.kth.se@localhost>
@@ -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.17 2015/07/17 15:58:01 christos Exp $");
 #endif
 
 #include <sys/stat.h>
@@ -166,7 +166,7 @@
        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);
 }



Home | Main Index | Thread Index | Old Index