[Bug 280516] pfctl: Silence a bogus warning about the blacklistd anchor not being found
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Apr 2025 19:02:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280516 Jose Luis Duran <jlduran@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #252376|0 |1 is obsolete| | Attachment #252377|0 |1 is obsolete| | Attachment #252378|0 |1 is obsolete| | Attachment #252829|0 |1 is obsolete| | --- Comment #7 from Jose Luis Duran <jlduran@FreeBSD.org> --- Created attachment 259593 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259593&action=edit Rough patch to illustrate the bug The issue appears to be that "-A" calls pfctl_show_anchors() and then pfctl_show_eth_anchors(). If an anchor is *not* an ethernet anchor, for example, pfctl_show_eth_anchors() will throw an error. Attached is a draft patch that, unifies both functions. When enough time is found to polish it, it will be submitted for review. In the meantime, post it here, obsoleting all previous attachments. Thank you! -- You are receiving this mail because: You are the assignee for the bug.