X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmountd%2Fmount_dispatch.c;h=ba6981defd9456c9621e08b2074ce947a45860c0;hp=f00c0c59316fe30454f1f3edb819e44b0748c46a;hb=HEAD;hpb=1408e610ac2db753543a546c4312b2eb6799f044 diff --git a/utils/mountd/mount_dispatch.c b/utils/mountd/mount_dispatch.c index f00c0c5..ba6981d 100644 --- a/utils/mountd/mount_dispatch.c +++ b/utils/mountd/mount_dispatch.c @@ -73,8 +73,7 @@ mount_dispatch(struct svc_req *rqstp, SVCXPRT *transp) #ifdef HAVE_TCP_WRAPPER /* remote host authorization check */ - if (!check_default("mountd", svc_getcaller(transp), - rqstp->rq_proc, MOUNTPROG)) { + if (!check_default("mountd", nfs_getrpccaller(transp), MOUNTPROG)) { svcerr_auth (transp, AUTH_FAILED); return; }