diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-01-30 04:55:38 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-01-30 05:38:33 +0100 |
commit | 0f16c725aadaac7e670d632ecbaea3661ff00827 (patch) | |
tree | 8d558d1f1ba36c256de163920a08b157bcbcde87 /extensions/libipt_LOG.c | |
parent | a0baae85f8159f03d52535934aa9b3a375e0f1f3 (diff) |
libxtables: prefix/order - move check_inverse to xtables.c
This also adds a warning that intrapositional negation support
is deprecated.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libipt_LOG.c')
-rw-r--r-- | extensions/libipt_LOG.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_LOG.c b/extensions/libipt_LOG.c index 23790a0d..bc7e8a4e 100644 --- a/extensions/libipt_LOG.c +++ b/extensions/libipt_LOG.c @@ -112,7 +112,7 @@ static int LOG_parse(int c, char **argv, int invert, unsigned int *flags, exit_error(PARAMETER_PROBLEM, "Can't specify --log-level twice"); - if (check_inverse(optarg, &invert, NULL, 0)) + if (xtables_check_inverse(optarg, &invert, NULL, 0)) exit_error(PARAMETER_PROBLEM, "Unexpected `!' after --log-level"); @@ -125,7 +125,7 @@ static int LOG_parse(int c, char **argv, int invert, unsigned int *flags, exit_error(PARAMETER_PROBLEM, "Can't specify --log-prefix twice"); - if (check_inverse(optarg, &invert, NULL, 0)) + if (xtables_check_inverse(optarg, &invert, NULL, 0)) exit_error(PARAMETER_PROBLEM, "Unexpected `!' after --log-prefix"); |