]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
"dot+1" is bogus - it is a DNS domain, not a yp domain
authorneilbrown <neilbrown>
Thu, 24 Aug 2000 03:58:16 +0000 (03:58 +0000)
committerneilbrown <neilbrown>
Thu, 24 Aug 2000 03:58:16 +0000 (03:58 +0000)
ChangeLog
support/export/client.c

index 3663a64a9174943512afe1e74a0f5a85b1a9161d..2c70cdd416621d790a1253513a925458922826b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-24  Neil Brown <neilb@cse.unsw.edu.au>
+       * support/export/client.c(client_check): removed the "dot+1" as a
+         ypdomain argument to innetgr as this is entirely bogus.
+         It should always be NULL.
+       
 2000-08-23  Neil Brown <neilb@cse.unsw.edu.au>
 
        * support/export/xtab.c(xtab_read): introduce new mode for
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;