summaryrefslogtreecommitdiffstats
path: root/utils/mountd/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mountd/auth.c')
-rw-r--r--utils/mountd/auth.c4
1 files changed, 0 insertions, 4 deletions
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) {