diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-06-25 19:41:28 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-06-25 19:41:28 +0200 |
commit | efebafa0021f36f4547b7fcc47620274f333e001 (patch) | |
tree | 28f1f106ddefbaaed95190e20d7a2b61402ecb36 /extensions/libxt_helper.c | |
parent | b97b42147ea65d7d24d70a2ffe925dbf091f26bc (diff) |
libxt_helper: fix invalid passed option to check_inverse
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_helper.c')
-rw-r--r-- | extensions/libxt_helper.c | 2 |
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) |