[Bug 280516] pfctl: Silence a bogus warning about (an ethernet) anchor not being found
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Oct 2025 11:49:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280516
--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=99560fe98c76371d7f0807c2088c78790ca9f943
commit 99560fe98c76371d7f0807c2088c78790ca9f943
Author: Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2025-10-26 12:38:00 +0000
Commit: Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2025-10-28 11:31:20 +0000
pfctl: Do not warn if there is no Ethernet anchor
Avoid emitting a warning if there is no Ethernet anchor. If the anchor
--regardless of its type-- is nonexistent, should be caught earlier.
This can be misleading when there is a layer 3 anchor but not an
Ethernet anchor, giving the user the impression that there is no layer 3
anchor with that name.
PR: 280516
Approved by: kp
MFC after: 2 days
Differential Revision: https://reviews.freebsd.org/D53360
sbin/pfctl/pfctl.c | 5 +----
tests/sys/netpfil/pf/anchor.sh | 4 ++--
2 files changed, 3 insertions(+), 6 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.