]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix names for action values.
authorGuy Harris <[email protected]>
Sun, 30 Jan 2022 20:34:43 +0000 (12:34 -0800)
committerGuy Harris <[email protected]>
Sun, 30 Jan 2022 20:34:43 +0000 (12:34 -0800)
print-pflog.c

index 05b9eb3a3a9b707fa31c09abd3809d4dda477eb5..c6ed1c1966750cacf56a01e1bb341d5bb17d4a86 100644 (file)
@@ -67,11 +67,11 @@ static const struct tok pf_actions[] = {
        { PF_DROP,              "block" },
        { PF_SCRUB,             "scrub" },
        { PF_NAT,               "nat" },
-       { PF_NONAT,             "nat" },
+       { PF_NONAT,             "nonat" },
        { PF_BINAT,             "binat" },
-       { PF_NOBINAT,           "binat" },
+       { PF_NOBINAT,           "nobinat" },
        { PF_RDR,               "rdr" },
-       { PF_NORDR,             "rdr" },
+       { PF_NORDR,             "nordr" },
        { PF_SYNPROXY_DROP,     "synproxy-drop" },
 #if defined(__FreeBSD__)
        { PF_DEFER,             "defer" },