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

(cherry picked from commit 48514c5724cdf3338dd6d220e5deee6178d7ee48)
(cherry picked from commit deaa6984ada80e36aea2f16e5f7211dd0d14800c)

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
rG380f42e2ed36: stand: lua: module names should permit more
Branches
Unknown
Tags
Unknown