diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2016-01-24 08:33:28 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2016-01-24 08:33:28 +0000 |
commit | ae470df9ca5213e7c7f343d540b370e41abde1ef (patch) | |
tree | f625e5149a78215d55c9c6ec5ee5121764ea4dad /usr.sbin | |
parent | 9e60aa7286ef8617fdfe6e65ebcf13ee7edd41c9 (diff) |
Set argument encode / result decode callbacks for 'all'.
listing a map is still not implemented though.
ok jmatthew@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ypldap/yp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ypldap/yp.c b/usr.sbin/ypldap/yp.c index c3b4253cfa4..349b04b6855 100644 --- a/usr.sbin/ypldap/yp.c +++ b/usr.sbin/ypldap/yp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yp.c,v 1.16 2016/01/24 08:30:38 matthieu Exp $ */ +/* $OpenBSD: yp.c,v 1.17 2016/01/24 08:33:27 matthieu Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> * @@ -218,6 +218,8 @@ yp_dispatch(struct svc_req *req, SVCXPRT *trans) return; case YPPROC_ALL: log_debug("ypproc_all"); + xdr_argument = (xdrproc_t) xdr_ypreq_nokey; + xdr_result = (xdrproc_t) xdr_ypresp_all; if (yp_check(req) == -1) return; cb = (void *)ypproc_all_2_svc; |