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")

(cherry picked from commit 3d9cd10b2857ee7a9ec1b04457d9ec44f614d32c)

Details

Provenance
kpAuthored on Jun 3 2026, 8:49 AM
Parents
rGbddfcbd9bbc6: lualoader: add be-list and be-switch commands
Branches
Unknown
Tags
Unknown