summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-06-25 19:41:28 +0200
committerJan Engelhardt <jengelh@medozas.de>2009-06-25 19:41:28 +0200
commitefebafa0021f36f4547b7fcc47620274f333e001 (patch)
tree28f1f106ddefbaaed95190e20d7a2b61402ecb36
parentb97b42147ea65d7d24d70a2ffe925dbf091f26bc (diff)
libxt_helper: fix invalid passed option to check_inverse
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
-rw-r--r--extensions/libxt_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_helper.c b/extensions/libxt_helper.c
index 7b56bef4..b136d8a6 100644
--- a/extensions/libxt_helper.c
+++ b/extensions/libxt_helper.c
@@ -31,7 +31,7 @@ helper_parse(int c, char **argv, int invert, unsigned int *flags,
if (*flags)
xtables_error(PARAMETER_PROBLEM,
"helper match: Only use --helper ONCE!");
- xtables_check_inverse(optarg, &invert, &invert, 0);
+ xtables_check_inverse(optarg, &invert, &optind, 0);
strncpy(info->name, optarg, 29);
info->name[29] = '\0';
if (invert)