HardenedBSD/sbin/pfctl
Luiz Amaral 0187875a6c pfctl: Fix recursive printing of anchor labels
We recently noticed that the recursive printing of labels wasn't working
like the recursive printing of rules.

When running pfctl -sr -a* we get a listing of all rules, including the
ones inside anchors. On the other hand, when running pfctl -sl -a*, it
would only print the labels in the root level, just like without the
-a* argument.

As in our use-case we are interested on labels only and our labels are
unique even between anchors, we didn't add indentation or hierarchy to
the printing.

Sponsored by:	InnoGames GmbH
Differential Revision:	https://reviews.freebsd.org/D42728
2023-11-27 21:37:33 +01:00
..
tests sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
Makefile
Makefile.depend
parse.y pfctl: fix incorrect mask on dynamic address 2023-10-06 18:11:28 +02:00
pf_print_state.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pf_ruleset.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pf.os
pfctl_altq.c
pfctl_ioctl.h
pfctl_optimize.c pfctl: use libpfctl instead of DIOCGETRULES directly 2023-11-27 21:36:48 +01:00
pfctl_osfp.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pfctl_parser.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pfctl_parser.h pfctl: fix incorrect mask on dynamic address 2023-10-06 18:11:28 +02:00
pfctl_qstats.c
pfctl_radix.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pfctl_table.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pfctl.8 pf: allow states to be killed by their pre-NAT address 2023-10-23 16:37:05 +02:00
pfctl.c pfctl: Fix recursive printing of anchor labels 2023-11-27 21:37:33 +01:00
pfctl.h pf: add a way to list creator ids 2023-10-10 11:48:21 +02:00