X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmountd%2Fauth.c;h=575f207bd028f0d74eed6097a82d485499c4d8b8;hp=dfe61ea7fcc7c8d49faa697541f31ebf0e8d9eee;hb=4cacc965afc4fb03a465ffcc6cb3078aeadc3818;hpb=35001db4aaafa8a17e13b8c13cf74508d4a93f2f diff --git a/utils/mountd/auth.c b/utils/mountd/auth.c index dfe61ea..575f207 100644 --- a/utils/mountd/auth.c +++ b/utils/mountd/auth.c @@ -142,7 +142,7 @@ auth_authenticate_internal(char *what, struct sockaddr_in *caller, exp = NULL; for (i = 0; !exp && i < MCL_MAXTYPES; i++) - for (exp = exportlist[i]; exp; exp = exp->m_next) { + for (exp = exportlist[i].p_head; exp; exp = exp->m_next) { if (strcmp(path, exp->m_export.e_path)) continue; if (!use_ipaddr && !client_member(my_client.m_hostname, exp->m_client->m_hostname))