HomeFreeBSD

pf: fix regression in pflog output

Description

pf: fix regression in pflog output

pf_match_rule() must remember current anchor before descents
towards leaf. it must restore anchor as it ascents towards root.
Bug pointed out and fix also tested by Matthias Pitzl from genua.

OK bluhm@

Obtained from: OpenBSD, sashan <sashan@openbsd.org>, 73e0536f0e
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Jun 23 2025, 9:36 AM
Parents
rGad591caf2a70: pf: decrement TTL in pf_route(6)()
Branches
Unknown
Tags
Unknown