git: 3ce28106a887 - main - rc.conf: Fix the default NFS-over-RDMA port number

Rick Macklem <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src,gmane.os.freebsd.current.scm
Message-ID <[email protected]>
The branch main has been updated by rmacklem:

URL: https://cgit.FreeBSD.org/src/commit/?id=3ce28106a887766383c99e5a607396f66ba2e5c1

commit 3ce28106a887766383c99e5a607396f66ba2e5c1
Author:     Vinicius Ferrao <[email protected]>
AuthorDate: 2026-08-15 21:27:12 +0000
Commit:     Rick Macklem <[email protected]>
CommitDate: 2026-08-15 21:27:12 +0000

    rc.conf: Fix the default NFS-over-RDMA port number
    
    The default for nfs_server_rdma_listen transposed two digits: 20490
    instead of 20049, the IANA-assigned port for NFS-over-RDMA.
    
    Fixes:  471e14267bea ("nfsd: Update the rc.d script for RDMA for the nfsd service")
    MFC after:      1 month
    Sponsored by:   VersatusHPC
    Pull Request:   #2371
    Signed-off-by:  Vinícius Ferrão <[email protected]>
---
 libexec/rc/rc.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index 497bdb4f7ab5..d5d1a198b143 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -387,7 +387,7 @@ nfs_server_flags="-u -t"	# Flags to nfsd (if enabled).
 nfs_server_managegids="NO"	# The NFS server maps gids for AUTH_SYS (or NO).
 nfs_server_maxio="131072"	# Maximum I/O size for the nfsd.
 nfs_server_rdma_enable="NO"	# Enable the use of the nfsrdma module for RDMA
-nfs_server_rdma_listen="20490"	# Port# for the NFS server to listen on for RDMA
+nfs_server_rdma_listen="20049"	# Port# for the NFS server to listen on for RDMA
 mountd_enable="NO"		# Run mountd (or NO).
 mountd_flags="-r -S"		# Flags to mountd (if NFS server enabled).
 weak_mountd_authentication="NO"	# Allow non-root mount requests to be served.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.