X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fmountd%2Fauth.c;h=41a57db8e843e04ff5884f0d54f5f36485eb0cea;hb=37d9e4f9e0d1aeeb296583e40a36ae729786230d;hp=0aac273a9df44b68f4d37be2b2b54c13f2ab2594;hpb=250c232f53bce01ffd0696f7a55b1e2b0feca51a;p=nfs-utils.git diff --git a/utils/mountd/auth.c b/utils/mountd/auth.c index 0aac273..41a57db 100644 --- a/utils/mountd/auth.c +++ b/utils/mountd/auth.c @@ -181,10 +181,6 @@ auth_authenticate_internal(char *what, struct sockaddr_in *caller, *error = no_entry; return NULL; } - if (!exp->m_mayexport) { - *error = not_exported; - return NULL; - } } if (!(exp->m_export.e_flags & NFSEXP_INSECURE_PORT) && ntohs(caller->sin_port) >= IPPORT_RESERVED) {