HomeFreeBSD

pf: use correct address family in pfr_pool_get()

Description

pf: use correct address family in pfr_pool_get()

pfr_pool_get() in call to pfr_prepare_network()must use af
instead of hardcoded AF_INET

Issues reported and patch submitted by:

Renaud Allard <renaud () allard ! it>

OK sashan@

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

Details

Provenance
kpAuthored on Apr 16 2026, 1:53 PM
Parents
rG5b7192230a15: pf: pf_frag_compare() should not be using subtraction to compare fragment IDs
Branches
Unknown
Tags
Unknown