CVS: cvs.openbsd.org: src

Alexandr Nedvedicky <[email protected]> Mon, 20 Jul 2026 10:00:35 -0600 (MDT)
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/07/20 10:00:35

Modified files:
	usr.sbin/authpf: authpf.c 

Log message:
authpf(8) read_config() should chop off trailing white space

if administrator mistakenly types into configuration file

anchor=authpf_test

where 'authpf_test' is followed by white space, the authpf(8)
is going to use anchor 'authpf_test ' instead of the 'authpf_test'
which is defined in pf.conf(5) as 'anchor authpf_test/*'

issue kindly reported and patch submitted by

Avinash Duduskar <avinash.duduskar (_at_) gmail (_dot_) com>

OK sashan@