HomeFreeBSD

bsnmp: Fix incorrect use of libpfctl

Description

bsnmp: Fix incorrect use of libpfctl

When we introduced libpfctl in bnsmpd this was done incorrectly, and a
GETRULE call was replaced by pfctl_add_rule().
Change it to pfctl_get_rule().

Reviewed by: donner
MFC after: 3 days
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Jun 15 2021, 8:50 AM
Parents
rGb6f8436b094d: tests: Revise FIB lookups per second benchmarking routines
Branches
Unknown
Tags
Unknown