CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2018/09/08 08:12:57

Modified files:
        sbin/pfctl     : pfctl.c 

Log message:
Error out early on bad anchor usage

`pfctl -a foo' would do nothing with the non-existent anchor and exit 0.
This implements behaviour as documented in pfctl(8):

-a anchor
Apply flags -f, -F, and -s only to the rules in the specified
anchor.

While here, hoist a duplicate "_" check by using the more mnemonic `mode'.

OK henning sashan

Reply via email to