]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mountd/rmtab.c
mountd: add IPv6 support in auth_authenticate()
[nfs-utils.git] / utils / mountd / rmtab.c
index ba0fcf6f6814ec9bb105f62022454fad34149d60..d23712b28d500cf46df749fd9502e293eb7fc0ab 100644 (file)
@@ -157,7 +157,8 @@ mountlist_del_all(struct sockaddr_in *sin)
 
        while ((rep = getrmtabent(1, NULL)) != NULL) {
                if (strcmp(rep->r_client, hostname) == 0 &&
-                   (exp = auth_authenticate("umountall", sin, rep->r_path)))
+                   (exp = auth_authenticate("umountall",
+                               (struct sockaddr *)sin, rep->r_path)))
                        continue;
                fputrmtabent(fp, rep, NULL);
        }