freebsd-nq/usr.sbin/mountd
Rick Macklem 5ebee88d80 mountd(8) was erroneously setting the sysctl for the old NFS server
when the new/default NFS server was running, for the "-n" option.

This patch fixes the problem for head and stable/11. For stable/10 the
patch will need to be modified when MFC'd, since the stable/10 mountd.c
handles both old and new NFS servers.
Since the new NFS server uses vfs.nfsd.nfs_privport == 0 by default,
there wouldn't have been many users affected by the code not setting
it to 0 when the "-n" option was specified.

PR:		213450
Submitted by:	rs@bytecamp.net
MFC after:	2 weeks
2016-10-25 00:52:42 +00:00
..
exports.5 Allow /etc/exports to contain usernames/groups with spaces in them. 2016-01-07 05:34:39 +00:00
Makefile Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
mountd.8 Remove oldnfs leftovers from mountd(8). 2015-04-29 12:33:00 +00:00
mountd.c mountd(8) was erroneously setting the sysctl for the old NFS server 2016-10-25 00:52:42 +00:00
netgroup.5
pathnames.h