Files
freebsd/lib/libpfctl
Jose Luis Duran b39a387442 libpfctl: Fix displaying deeply nested anchors
Set the number of rulesets (i.e., anchors) directly attached to the
anchor and its path in pfctl_get_ruleset().

While here, add a test to document this behavior.

Approved by:	re (cperciva)
PR:		290478
Reviewed by:	kp
Fixes:		041ce1d690 ("pfctl: recursively flush rules and tables")
MFC after:	2 days
Differential Revision:	https://reviews.freebsd.org/D53358

(cherry picked from commit a943a96a50)
(cherry picked from commit 1c8a554f75)
2025-10-29 21:36:20 -07:00
..