17 lines
692 B
Diff
17 lines
692 B
Diff
Index: nfs-utils-1.0.6/utils/exportfs/exportfs.c
|
|
===================================================================
|
|
--- nfs-utils-1.0.6.orig/utils/exportfs/exportfs.c 2004-06-24 12:42:44.000000000 +0200
|
|
+++ nfs-utils-1.0.6/utils/exportfs/exportfs.c 2004-06-24 12:44:43.000000000 +0200
|
|
@@ -399,9 +399,9 @@
|
|
c = dumpopt(c, "mapping=ugidd");
|
|
else if (ep->e_maptype == CLE_MAP_FILE)
|
|
c = dumpopt(c, "mapping=file");
|
|
- if (ep->e_anonuid != -2)
|
|
+ if (ep->e_anonuid != 65534)
|
|
c = dumpopt(c, "anonuid=%d", ep->e_anonuid);
|
|
- if (ep->e_anongid != -2)
|
|
+ if (ep->e_anongid != 65534)
|
|
c = dumpopt(c, "anongid=%d", ep->e_anongid);
|
|
|
|
printf("%c\n", (c != '(')? ')' : ' ');
|