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_connbytes.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_connbytes.c')
-rw-r--r-- | extensions/libxt_connbytes.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/extensions/libxt_connbytes.c b/extensions/libxt_connbytes.c index 64faa8f1..08670919 100644 --- a/extensions/libxt_connbytes.c +++ b/extensions/libxt_connbytes.c @@ -8,7 +8,6 @@ #include <linux/netfilter/nf_conntrack_common.h> #include <linux/netfilter/xt_connbytes.h> -/* Function which prints out usage message. */ static void connbytes_help(void) { printf( @@ -44,8 +43,6 @@ parse_range(const char *arg, struct xt_connbytes_info *si) (unsigned long long)si->count.to); } -/* Function which parses command options; returns true if it - ate an option */ static int connbytes_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_match **match) @@ -141,7 +138,6 @@ static void print_direction(struct xt_connbytes_info *sinfo) } } -/* Prints out the matchinfo. */ static void connbytes_print(const void *ip, const struct xt_entry_match *match, int numeric) { @@ -163,7 +159,6 @@ connbytes_print(const void *ip, const struct xt_entry_match *match, int numeric) print_direction(sinfo); } -/* Saves the matchinfo in parsable form to stdout. */ static void connbytes_save(const void *ip, const struct xt_entry_match *match) { struct xt_connbytes_info *sinfo = (struct xt_connbytes_info *)match->data; |