diff options
author | neilbrown <neilbrown> | 2000-08-24 03:58:16 +0000 |
---|---|---|
committer | neilbrown <neilbrown> | 2000-08-24 03:58:16 +0000 |
commit | 1369ddc35e940c56aafdb73174b6fe7acc631d8f (patch) | |
tree | 2c1c1e18a5c1b1f3c13795c4a106112b41bed541 | |
parent | 82d42dffa84fb884684f75769ca13668c5188a5e (diff) | |
download | nfs-utils-1369ddc35e940c56aafdb73174b6fe7acc631d8f.tar.gz nfs-utils-1369ddc35e940c56aafdb73174b6fe7acc631d8f.tar.xz nfs-utils-1369ddc35e940c56aafdb73174b6fe7acc631d8f.zip |
"dot+1" is bogus - it is a DNS domain, not a yp domain
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | support/export/client.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 diff --git a/support/export/client.c b/support/export/client.c index 8c5200a..a7f9d02 100644 --- a/support/export/client.c +++ b/support/export/client.c @@ -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; |