HomeFreeBSD

mountd: do not warn about using class mask with -mask

Description

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
Reviewed by: rmacklem
Differential Revision: https://reviews.freebsd.org/D41774

(cherry picked from commit 48514c5724cdf3338dd6d220e5deee6178d7ee48)

Details

Provenance
karelsAuthored on Sep 8 2023, 2:06 PM
Reviewer
rmacklem
Differential Revision
D41774: mountd: do not warn about using class mask with -mask
Parents
rGd2557f02d126: getdirentries.2: Reference dir(5)
Branches
Unknown
Tags
Unknown