]> 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:50:05 +0000 (16:50 -0700)
Everybody has it; map it to "noscrub".

print-pflog.c

index 67b30a2a94165f22f31ad1f02213e5936a6ab81d..33d88e70ecebc59649eb601bf6e24bbe84ba15e2 100644 (file)
@@ -172,6 +172,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" },