summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-09-27 10:16:34 -0400
committerSteve Dickson <steved@redhat.com>2010-09-27 11:28:10 -0400
commiteaa588a137b0b2f38aa9e9c542635a222e51ee48 (patch)
tree87d5c345b9ab0982e713f3e5817f87808f7d89e4
parentc18e9a780f376b868e62b75abe64b0fd9915ada5 (diff)
downloadnfs-utils-eaa588a137b0b2f38aa9e9c542635a222e51ee48.tar.gz
nfs-utils-eaa588a137b0b2f38aa9e9c542635a222e51ee48.tar.xz
nfs-utils-eaa588a137b0b2f38aa9e9c542635a222e51ee48.zip
nfsd: Enable IPv6 support in rpc.nfsd again.
Revert commit b2a3cd59 so that rpc.nfsd can create IPv6 listener sockets for the kernel. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/nfsd/nfsd.c9
-rw-r--r--utils/nfsd/nfssvc.c9
2 files changed, 0 insertions, 18 deletions
diff --git a/utils/nfsd/nfsd.c b/utils/nfsd/nfsd.c
index 658b8fa..e7e1470 100644
--- a/utils/nfsd/nfsd.c
+++ b/utils/nfsd/nfsd.c
@@ -27,15 +27,6 @@
#include "nfssvc.h"
#include "xlog.h"
-/*
- * IPv6 support for nfsd was finished before some of the other daemons (mountd
- * and statd in particular). That could be a problem in the future if someone
- * were to boot a kernel that supports IPv6 serving with an older nfs-utils. For
- * now, hardcode the IPv6 switch into the off position until the other daemons
- * are functional.
- */
-#undef IPV6_SUPPORTED
-
static void usage(const char *);
static struct option longopts[] =
diff --git a/utils/nfsd/nfssvc.c b/utils/nfsd/nfssvc.c
index 7693626..ea36399 100644
--- a/utils/nfsd/nfssvc.c
+++ b/utils/nfsd/nfssvc.c
@@ -24,15 +24,6 @@
#include "nfslib.h"
#include "xlog.h"
-/*
- * IPv6 support for nfsd was finished before some of the other daemons (mountd
- * and statd in particular). That could be a problem in the future if someone
- * were to boot a kernel that supports IPv6 serving with an older nfs-utils. For
- * now, hardcode the IPv6 switch into the off position until the other daemons
- * are functional.
- */
-#undef IPV6_SUPPORTED
-
#ifndef NFSD_FS_DIR
#define NFSD_FS_DIR "/proc/fs/nfsd"
#endif