]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mountd/mount_dispatch.c
nfsidmap: Added Error Logging
[nfs-utils.git] / utils / mountd / mount_dispatch.c
index f00c0c59316fe30454f1f3edb819e44b0748c46a..ba6981defd9456c9621e08b2074ce947a45860c0 100644 (file)
@@ -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;
        }