diff options
author | Mark Johnston <markj@FreeBSD.org> | 2024-04-23 16:51:03 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2024-04-23 16:54:46 +0000 |
commit | 6d5ce2bb63445e9c09c3b5c29fb18983e1e2628c (patch) | |
tree | bd2615b1dab61d59310d6e351bee574a3549ecc2 /sys/fs | |
parent | fb2ab7ce52d3f1e9d0998f3e5c12c3468ce4563a (diff) | |
download | src-6d5ce2bb63445e9c09c3b5c29fb18983e1e2628c.tar.gz src-6d5ce2bb63445e9c09c3b5c29fb18983e1e2628c.zip |
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/nfsserver/nfs_nfsdkrpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nfsserver/nfs_nfsdkrpc.c b/sys/fs/nfsserver/nfs_nfsdkrpc.c index 022f7403d28b..ce1189d40425 100644 --- a/sys/fs/nfsserver/nfs_nfsdkrpc.c +++ b/sys/fs/nfsserver/nfs_nfsdkrpc.c @@ -82,7 +82,7 @@ int newnfs_nfsv3_procid[NFS_V3NPROCS] = { SYSCTL_DECL(_vfs_nfsd); -NFSD_VNET_DEFINE_STATIC(int, nfs_privport) = 0; +NFSD_VNET_DEFINE_STATIC(int, nfs_privport) = 1; SYSCTL_INT(_vfs_nfsd, OID_AUTO, nfs_privport, CTLFLAG_NFSD_VNET | CTLFLAG_RWTUN, &NFSD_VNET_NAME(nfs_privport), 0, "Only allow clients using a privileged port for NFSv2, 3 and 4"); |