]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/include/nfslib.h
rpc.mountd: make exportent->e_hostname a dynamically-allocated string
[nfs-utils.git] / support / include / nfslib.h
index 5af9c30c33b18d70864cde8c25a70cda1cb6cbf2..ffa2440a9e30e47ced11fef8878e9aaaee1b5b8d 100644 (file)
@@ -65,7 +65,7 @@ struct sec_entry {
  * allow overrides when using exportfs.
  */
 struct exportent {
-       char            e_hostname[NFSCLNT_IDMAX+1];
+       char *          e_hostname;
        char            e_path[NFS_MAXPATHLEN+1];
        /* The mount path may be different from the exported path due
           to submount. It may change for every mount. The idea is we