fa1d4439f9
In the pf rc.d script the output of `/etc/rc.d/pf status` or `/etc/rc.d/pf onestatus` always provided an exit status of zero. This made it fiddly to programmatically determine if pf was running or not. Return a non-zero status if the pf module is not loaded, extend pfctl to have an option to return an error status if pf is not enabled. PR: 228632 Submitted by: James Park-Watt <jimmypw AT gmail.com> MFC after: 1 week |
||
---|---|---|
.. | ||
tests | ||
Makefile | ||
Makefile.depend | ||
parse.y | ||
pf_print_state.c | ||
pfctl_altq.c | ||
pfctl_optimize.c | ||
pfctl_osfp.c | ||
pfctl_parser.c | ||
pfctl_parser.h | ||
pfctl_qstats.c | ||
pfctl_radix.c | ||
pfctl_table.c | ||
pfctl.8 | ||
pfctl.c | ||
pfctl.h |