diff options
Diffstat (limited to 'extensions/libipt_pool.c')
-rw-r--r-- | extensions/libipt_pool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_pool.c b/extensions/libipt_pool.c index 3fec4634..4e54f455 100644 --- a/extensions/libipt_pool.c +++ b/extensions/libipt_pool.c @@ -59,13 +59,13 @@ parse(int c, char **argv, int invert, unsigned int *flags, switch (c) { case '1': - if (check_inverse(optarg, &invert)) optind++; + check_inverse(optarg, &invert, &optind, 0); info->src = ip_pool_get_index(argv[optind-1]); if (invert) info->flags |= IPT_POOL_INV_SRC; *flags = 1; break; case '2': - if (check_inverse(optarg, &invert)) optind++; + check_inverse(optarg, &invert, &optind, 0); info->dst = ip_pool_get_index(argv[optind-1]); if (invert) info->flags |= IPT_POOL_INV_DST; *flags = 1; |