]> The Tcpdump Group git mirrors - tcpdump/commitdiff
pflog: handle the PF_NOSCRUB action.
authorGuy Harris <[email protected]>
Sun, 8 Sep 2024 23:50:05 +0000 (16:50 -0700)
committerGuy Harris <[email protected]>
Sun, 8 Sep 2024 23:56:51 +0000 (16:56 -0700)
Everybody has it; map it to "noscrub".

(cherry picked from commit 0a94c0b164801fc07cc3dfb532677db0ff060baf)

print-pflog.c

index 52a103a82cc4bee9750e9ddfd6fbbb258ab5ed18..952806e190b7bbfc7ca6739a3b8502d7fcf45cee 100644 (file)
@@ -64,6 +64,7 @@ static const struct tok pf_actions[] = {
        { PF_PASS,              "pass" },
        { PF_DROP,              "block" },
        { PF_SCRUB,             "scrub" },
+       { PF_NOSCRUB,           "noscrub" },
        { PF_NAT,               "nat" },
        { PF_NONAT,             "nonat" },
        { PF_BINAT,             "binat" },