HomeFreeBSD

pfctl: fix reporting of line numbers for included files

Description

pfctl: fix reporting of line numbers for included files

Fix (include file ) line number counting by keeping track of the unget
buffer per file; also use that buffer to expand macros.
ok sashan@ dennis@ krw@

Obtained from: OpenBSD, otto <otto@openbsd.org>, 475a466cc5
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Jun 23 2025, 1:17 PM
Parents
rG0c273335b2de: pf: ensure max-pkt-size works on match rules
Branches
Unknown
Tags
Unknown