Date: Sat, 04 Oct 2025 14:05:07 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 289994] pfctl: confusing error message when trying to flush tables in non-existent anchor Message-ID: <bug-289994-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289994 Bug ID: 289994 Summary: pfctl: confusing error message when trying to flush tables in non-existent anchor Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: novel@FreeBSD.org Executing a command like that, where the "not/real" does not exist: tulp# pfctl -a not/real -F all Ethernet rules cleared rules cleared nat cleared pfctl: Operation not supported by device tulp# It fails half way, and the specific failing entity is Tables: tulp# pfctl -a not/real -F Tables pfctl: Operation not supported by device tulp# However, the "show" operation displays a more understandable (in my opinion) error message: tulp# pfctl -a not/real -s Tables pfctl: Anchor does not exist. tulp# I wonder if `pfctl -a not/real -F <modifier>` should behave the same, i.e. print that anchor does not exist? -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289994-227>
