[Bug 263011] /usr/sbin/mountd warning "No mask specified for network, using out-of-date default"
Date: Tue, 12 Sep 2023 16:40:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263011
--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch releng/14.0 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=6af462f0ec36fd8c2f1a679932e71e4afe438be4
commit 6af462f0ec36fd8c2f1a679932e71e4afe438be4
Author: Mike Karels <karels@FreeBSD.org>
AuthorDate: 2023-09-08 14:06:42 +0000
Commit: Mike Karels <karels@FreeBSD.org>
CommitDate: 2023-09-12 16:39:46 +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
Approved by: re (gjb)
Reviewed by: rmacklem
Differential Revision: https://reviews.freebsd.org/D41774
(cherry picked from commit 48514c5724cdf3338dd6d220e5deee6178d7ee48)
(cherry picked from commit deaa6984ada80e36aea2f16e5f7211dd0d14800c)
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.