freebsd-dev/sbin/pfctl/tests
Kristof Provost 585a5ed0be pfctl: fix recrusive printing of anchors
Fix a couple of problems with printing of anchors, in particular recursive
printing, both of inline anchors and when requested explicitly with a '*'
in the anchor.
- Correct recursive printing of wildcard anchors (recurse into child anchors
rather than rules, which don't exist)
- Print multi-part anchor paths correctly (pr6065)
- Fix comments and prevent users from specifying multi-component names for
inline anchors.

tested by phessler
ok henning

Also fix the relevant pfctl test case to reflect the new (and now
correct) behaviour).

MFC after:	3 weeks
Obtained from:	OpenBSD (mcbride, f9a568a27c740528301ca3419316c85a9fc7f1de)
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D36416
2022-09-06 10:42:10 +02:00
..
files pfctl: fix recrusive printing of anchors 2022-09-06 10:42:10 +02:00
macro.sh pfctl test: Add a test for macro names with a space in it 2018-10-28 05:50:04 +00:00
Makefile Rewrite pfctl_test in C to reduce testsuite run time 2020-10-14 17:39:50 +00:00
Makefile.depend
pfctl_test_list.inc pfctl tests: test case for the POM_STICKYADDRESS fix 2022-08-08 09:30:42 +02:00
pfctl_test.c [pfctl_tests] Add missing void to empty function declaration 2020-10-15 14:56:51 +00:00