pfctl: fix recursive printing of rules
authorMatteo Riondato <matteo@FreeBSD.org>
Wed, 13 Apr 2022 07:38:44 +0000 (09:38 +0200)
committerKristof Provost <kp@FreeBSD.org>
Thu, 14 Apr 2022 15:25:41 +0000 (17:25 +0200)
commitd86cf4435021d0abf3f3d65039583ee8cfde1be1
tree39f108be0f8911453df5bddfd1897f5847200ca8
parent4642a6fac27dec23a97ad15d247515b8fba30ae6
pfctl: fix recursive printing of rules

When asked to print rules recursively, correctly recurse for anchors
included in pf.conf with "anchorname/*".

PR: 262590
Reviewed by: kp
MFC after: 3 weeks
sbin/pfctl/pfctl.c