summaryrefslogtreecommitdiff
path: root/extensions/libxt_comment.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-01-30 04:55:38 +0100
committerJan Engelhardt <jengelh@medozas.de>2009-01-30 05:38:33 +0100
commit0f16c725aadaac7e670d632ecbaea3661ff00827 (patch)
tree8d558d1f1ba36c256de163920a08b157bcbcde87 /extensions/libxt_comment.c
parenta0baae85f8159f03d52535934aa9b3a375e0f1f3 (diff)
downloadiptables-0f16c725aadaac7e670d632ecbaea3661ff00827.tar.gz
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/libxt_comment.c')
-rw-r--r--extensions/libxt_comment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_comment.c b/extensions/libxt_comment.c
index a7f96d4f..9bad1256 100644
--- a/extensions/libxt_comment.c
+++ b/extensions/libxt_comment.c
@@ -46,7 +46,7 @@ comment_parse(int c, char **argv, int invert, unsigned int *flags,
switch (c) {
case '1':
- check_inverse(argv[optind-1], &invert, &optind, 0);
+ xtables_check_inverse(argv[optind-1], &invert, &optind, 0);
if (invert) {
exit_error(PARAMETER_PROBLEM,
"Sorry, you can't have an inverted comment");