[Bug 263011] /usr/sbin/mountd warning "No mask specified for network, using out-of-date default"
Date: Fri, 08 Sep 2023 14:07:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263011
--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=48514c5724cdf3338dd6d220e5deee6178d7ee48
commit 48514c5724cdf3338dd6d220e5deee6178d7ee48
Author: Mike Karels <karels@FreeBSD.org>
AuthorDate: 2023-09-08 14:06:42 +0000
Commit: Mike Karels <karels@FreeBSD.org>
CommitDate: 2023-09-08 14:06:42 +0000
mountd: do not warn about using class mask with -mask
The previous code would warn that the mask was being defaulted to
an obsolete class mask even if -mask was present after -network.
Import a fix from Peter Much with a little tweaking, deferring the
warning until after all parameters are processed.
PR: 263011
Obtained from: pmc at citilink.dinoex.sub.org
MFC after: 3 days
Reviewed by: rmacklem
Differential Revision: https://reviews.freebsd.org/D41774
usr.sbin/mountd/mountd.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.