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, 3:39 PM
Reviewer
kp
Differential Revision
D46088: pfctl: Allow a semicolon (;) as a comment
Parents
rGdb238c7c52b3: mixer.3: Fix mixer_get_mode() description
Branches
Unknown
Tags
Unknown