From 6b4e4965a6b82e8d49cea1c0316b951ba4e9e83e Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Mon, 19 Aug 2013 12:48:06 -0400 Subject: rpc.nfsd: No longer advertise NFS v2 support. Changed the default protocol versions that rpc.nfsd register with rpcbind to just 3 and 4. Version 2 can still be enabled with the '-V' flag, but it will not be on by default. Signed-off-by: Steve Dickson --- utils/nfsd/nfsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/nfsd/nfsd.c b/utils/nfsd/nfsd.c index e87c0a9..df48392 100644 --- a/utils/nfsd/nfsd.c +++ b/utils/nfsd/nfsd.c @@ -100,7 +100,7 @@ main(int argc, char **argv) char *haddr = NULL; int socket_up = 0; int minorvers41 = 0; /* nfsv4 minor version */ - unsigned int versbits = NFSCTL_ALLBITS; + unsigned int versbits = NFSCTL_VERDEFAULT; unsigned int protobits = NFSCTL_ALLBITS; unsigned int proto4 = 0; unsigned int proto6 = 0; -- cgit