]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/export/rmtab.c
make "exportfs -au" do no DNS lookup
[nfs-utils.git] / support / export / rmtab.c
index 4e141c3516a34efc6c0a47adc16810939b0cf3ae..3c55267a8e7cfa5653f0fbffa314fc43b88bba8f 100644 (file)
@@ -37,12 +37,12 @@ rmtab_read(void)
                        /* see if the entry already exists, otherwise this was an instantiated
                         * wild card, and we must add it
                         */
-                       exp = export_lookup(rep->r_client, xp->e_path);
+                       exp = export_lookup(rep->r_client, xp->e_path, 0);
                        if (!exp) {
                                strncpy (xp->e_hostname, rep->r_client,
                                         sizeof (xp->e_hostname) - 1);
                                xp->e_hostname[sizeof (xp->e_hostname) -1] = '\0';
-                               exp = export_create(xp);
+                               exp = export_create(xp, 0);
                        }
                        free (hp);