From: Chuck Lever Date: Mon, 27 Sep 2010 14:16:34 +0000 (-0400) Subject: nfsd: Enable IPv6 support in rpc.nfsd again. X-Git-Tag: nfs-utils-1-2-3~5 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=eaa588a137b0b2f38aa9e9c542635a222e51ee48 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 Signed-off-by: Steve Dickson --- 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