From eaa588a137b0b2f38aa9e9c542635a222e51ee48 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Mon, 27 Sep 2010 10:16:34 -0400 Subject: [PATCH] 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 --- utils/nfsd/nfsd.c | 9 --------- utils/nfsd/nfssvc.c | 9 --------- 2 files changed, 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 -- 2.39.5