summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_mark.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_mark.c')
-rw-r--r--extensions/libipt_mark.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/libipt_mark.c b/extensions/libipt_mark.c
index 001635a6..1c86fd7a 100644
--- a/extensions/libipt_mark.c
+++ b/extensions/libipt_mark.c
@@ -45,8 +45,7 @@ parse(int c, char **argv, int invert, unsigned int *flags,
switch (c) {
char *end;
case '1':
- if (check_inverse(optarg, &invert))
- optind++;
+ check_inverse(optarg, &invert, &optind, 0);
markinfo->mark = strtoul(optarg, &end, 0);
if (*end == '/') {
markinfo->mask = strtoul(end+1, &end, 0);