diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-09-01 14:22:19 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-09-01 14:22:19 +0200 |
commit | ddac6c5bc636003d664d25c08ea3fe176565096c (patch) | |
tree | b8630ca5953dfee6fb03d39ed52eff39617262b0 /extensions/libxt_comment.c | |
parent | a2a7f2b531cc582ab6cc3c2b73715ed1d58b9eab (diff) |
src: Update comments
A number of comments are redundant, some outdated and others outright
wrong in their own way. Remove and fixup.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'extensions/libxt_comment.c')
-rw-r--r-- | extensions/libxt_comment.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/extensions/libxt_comment.c b/extensions/libxt_comment.c index abbb6cbe..b02f09b6 100644 --- a/extensions/libxt_comment.c +++ b/extensions/libxt_comment.c @@ -14,7 +14,6 @@ #include <xtables.h> #include <linux/netfilter/xt_comment.h> -/* Function which prints out usage message. */ static void comment_help(void) { printf( @@ -39,8 +38,6 @@ parse_comment(const char *s, struct xt_comment_info *info) strcpy((char *)info->comment, s); } -/* Function which parses command options; returns true if it - ate an option */ static int comment_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_match **match) @@ -64,7 +61,6 @@ comment_parse(int c, char **argv, int invert, unsigned int *flags, return 1; } -/* Final check; must have specified --comment. */ static void comment_check(unsigned int flags) { if (!flags) @@ -72,7 +68,6 @@ static void comment_check(unsigned int flags) "COMMENT match: You must specify `--comment'"); } -/* Prints out the matchinfo. */ static void comment_print(const void *ip, const struct xt_entry_match *match, int numeric) { |