HomeFreeBSD

pf: factor out rule counter update code

Description

pf: factor out rule counter update code

Break out rule counter update code into a separate function, makes the
behaviour consistent between IPv4 and IPv6.

From martin.pelikan@gmail.com

Obtained from: OpenBSD, mcbride <mcbride@openbsd.org>, ce38da5678
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D46590

Details

Provenance
kpAuthored on Sep 4 2024, 12:39 PM
Differential Revision
D46590: pf: factor out rule counter update code
Parents
rG7309c551a56e: pf tests: test the new log(matches) feature
Branches
Unknown
Tags
Unknown