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_statistic.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_statistic.c')
-rw-r--r-- | extensions/libxt_statistic.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/extensions/libxt_statistic.c b/extensions/libxt_statistic.c index 114b4197..d85aacbd 100644 --- a/extensions/libxt_statistic.c +++ b/extensions/libxt_statistic.c @@ -94,7 +94,6 @@ statistic_parse(int c, char **argv, int invert, unsigned int *flags, return 1; } -/* Final check; must have specified --mark. */ static void statistic_check(unsigned int flags) { if (!(flags & 0x1)) @@ -124,7 +123,6 @@ static void statistic_check(unsigned int flags) global_info->u.nth.packet; } -/* Prints out the matchinfo. */ static void print_match(const struct xt_statistic_info *info, char *prefix) { if (info->flags & XT_STATISTIC_INVERT) @@ -153,7 +151,6 @@ statistic_print(const void *ip, const struct xt_entry_match *match, int numeric) print_match(info, ""); } -/* Saves the union ipt_matchinfo in parsable form to stdout. */ static void statistic_save(const void *ip, const struct xt_entry_match *match) { struct xt_statistic_info *info = (struct xt_statistic_info *)match->data; |