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: [email protected]
Reporter: [email protected]
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.