HomeFreeBSD

pfdenied: fix checking root anchor

Description

pfdenied: fix checking root anchor

pfctl doesn't like empty anchors (-a ''), but we can specify the root
anchor as '/' too, so do that instead.

PR: 295324
Tested by: Paweł Krawczyk
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Jun 3 2026, 8:49 AM
Parents
rG017690e50913: netpfil: add PF netlink command decoding support
Branches
Unknown
Tags
Unknown