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=985f89a8a87f2626583b240f7abad86d97a77596;hpb=ac5b03be829b4c9369ebfb07a688308721103228 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; }