summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_policy.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-08-21 12:39:04 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-08-21 12:39:04 +0200
commit03deef5241330db418652c42af4d517527743f22 (patch)
tree857c90d17d938768954fbc6b1bbdac9f38c753f2 /extensions/libxt_policy.c
parentc2a47ead16fc488fbf7fd8aa12d306cedf4da441 (diff)
libxt_policy: remove superfluous inversion
--dir cannot be inverted. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_policy.c')
-rw-r--r--extensions/libxt_policy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/libxt_policy.c b/extensions/libxt_policy.c
index 97722d6c..54ec2294 100644
--- a/extensions/libxt_policy.c
+++ b/extensions/libxt_policy.c
@@ -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,