mountd: Promote missing netmask log to LOG_ERR

Historical network classes are deprecated, but currently still supported
in mountd with a LOG_WARNING-priority message added by Mike Karels in
2021.  Upgrade the log to LOG_ERR well in advance of this becoming a
fatal error.

Reviewed by:	rmacklem
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48795
This commit is contained in:
Ed Maste 2025-02-01 08:16:47 -05:00
parent 955f974a1a
commit ecccb638d4

View file

@ -1806,7 +1806,7 @@ get_exportlist_one(int passno)
len = endcp - cp;
}
if (opt_flags & OP_CLASSMASK)
syslog(LOG_WARNING,
syslog(LOG_ERR,
"WARNING: No mask specified for %s, "
"using out-of-date default",
(&grp->gr_ptr.gt_net)->nt_name);