summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-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)