summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_REDIRECT.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_REDIRECT.c')
-rw-r--r--extensions/libipt_REDIRECT.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libipt_REDIRECT.c b/extensions/libipt_REDIRECT.c
index 02afacf9..ca029c86 100644
--- a/extensions/libipt_REDIRECT.c
+++ b/extensions/libipt_REDIRECT.c
@@ -94,7 +94,7 @@ parse(int c, char **argv, int invert, unsigned int *flags,
exit_error(PARAMETER_PROBLEM,
"Need TCP or UDP with port specification");
- if (check_inverse(optarg, &invert))
+ if (check_inverse(optarg, &invert, NULL, 0))
exit_error(PARAMETER_PROBLEM,
"Unexpected `!' after --to-ports");