diff options
| author | Marcelo Araujo <araujo@FreeBSD.org> | 2016-03-04 03:10:08 +0000 |
|---|---|---|
| committer | Marcelo Araujo <araujo@FreeBSD.org> | 2016-03-04 03:10:08 +0000 |
| commit | 57074683850b7d3ff56e072500f8538560da0be8 (patch) | |
| tree | d7b397ddce83afd09960d9eaae00bb686cf943cb /usr.sbin/ypldap | |
| parent | 619d20a133084c384ec786b9f0d880ec01f42851 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/ypldap')
| -rw-r--r-- | usr.sbin/ypldap/yp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/ypldap/yp.c b/usr.sbin/ypldap/yp.c index c5e8edda1543..0a1183b534c9 100644 --- a/usr.sbin/ypldap/yp.c +++ b/usr.sbin/ypldap/yp.c @@ -216,6 +216,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; @@ -236,6 +238,8 @@ yp_dispatch(struct svc_req *req, SVCXPRT *trans) return; case YPPROC_MAPLIST: log_debug("ypproc_maplist"); + xdr_argument = (xdrproc_t) xdr_domainname; + xdr_result = (xdrproc_t) xdr_ypresp_maplist; if (yp_check(req) == -1) return; cb = (void *)ypproc_maplist_2_svc; |
