]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/export/client.c
"dot+1" is bogus - it is a DNS domain, not a yp domain
[nfs-utils.git] / support / export / client.c
index 8c5200af10ef36aba828ca74d89f9d7a8ba88dd7..a7f9d020c390a3e6f25643e32ce6cb959281b2da 100644 (file)
@@ -237,7 +237,7 @@ client_check(nfs_client *clp, struct hostent *hp)
                                return 0;
 
                        *dot = '\0';
-                       match = innetgr(cname+1, hname, NULL, dot + 1);
+                       match = innetgr(cname+1, hname, NULL, NULL);
                        *dot = '.';
 
                        return match;