[Bug 262590] [pf] Anchor "blacklistd/*" not correctly shown in pfctl -a \* -s rules

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Mar 2022 23:04:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262590

--- Comment #2 from Matteo Riondato <matteo@FreeBSD.org> ---
I believe the problem is in commit 8c1400b0a1083c9e2bf8f3418eb3e3cfba1a8444
(here is the review: https://reviews.freebsd.org/D34443). 

Specifically, there seems to be some issue with anchor_call: before the change
it is updated by the ioctl call (I assume), but after the change, it is never
set to anything.

Perhaps the pfctl_rules_info should also have a field char *anchor_call, and
get_rules_info should populate it?

-- 
You are receiving this mail because:
You are the assignee for the bug.