HomeFreeBSD

pfctl: fix retrieving nested nat-anchors

Description

pfctl: fix retrieving nested nat-anchors

When retrieving nat rules in anchors we need to set the path just like
we do for regular rules.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit a632d9e3601272c0157dce6633fc9a23ad6ae45b)

Details

Provenance
kpAuthored on Mar 17 2022, 5:31 PM
Parents
rG5aaceccdb23b: pf tests: Test setting and retrieving nested anchors
Branches
Unknown
Tags
Unknown