HomeFreeBSD

pfctl: Allow a semicolon (;) as a comment

Description

pfctl: Allow a semicolon (;) as a comment

To make parsing of, for example, Spamhaus' drop.txt and similar
files that contains semicolons as comments, allow them also
in file-based tables.

Reviewed by: kp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D46088

(cherry picked from commit a8a95277363be2c92b3c06bd9cd1a32d1c6c6ecd)

Details

Provenance
otisAuthored on Jul 25 2024, 8:07 AM
kpCommitted on Aug 8 2024, 5:42 AM
Reviewer
kp
Differential Revision
D46088: pfctl: Allow a semicolon (;) as a comment
Parents
rGf702110bc4bc: ktrace: Fix an inverted privilege check
Branches
Unknown
Tags
Unknown