[Bug 280516] pfctl: Silence a bogus warning about the blacklistd anchor not being found

[email protected]
Newsgroups gmane.os.freebsd.devel.pf4freebsd
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280516

Jose Luis Duran <[email protected]> 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 <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.