]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxt_policy: remove superfluous inversion
authorJan Engelhardt <jengelh@medozas.de>
Sun, 21 Aug 2011 10:39:04 +0000 (12:39 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sun, 21 Aug 2011 10:39:04 +0000 (12:39 +0200)
--dir cannot be inverted.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_policy.c

index 97722d6cad942d67b968e8e812e1dada6f035f01..54ec22947ff3f150da250b39c5a1048b2d06a4f0 100644 (file)
@@ -40,8 +40,7 @@ static void policy_help(void)
 }
 
 static const struct xt_option_entry policy_opts[] = {
-       {.name = "dir", .id = O_DIRECTION, .type = XTTYPE_STRING,
-        .flags = XTOPT_INVERT},
+       {.name = "dir", .id = O_DIRECTION, .type = XTTYPE_STRING},
        {.name = "pol", .id = O_POLICY, .type = XTTYPE_STRING},
        {.name = "strict", .id = O_STRICT, .type = XTTYPE_NONE},
        {.name = "reqid", .id = O_REQID, .type = XTTYPE_UINT32,