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_quota.c | |
parent | a2a7f2b531cc582ab6cc3c2b73715ed1d58b9eab (diff) | |
download | iptables-ddac6c5bc636003d664d25c08ea3fe176565096c.tar.gz |
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_quota.c')
-rw-r--r-- | extensions/libxt_quota.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/extensions/libxt_quota.c b/extensions/libxt_quota.c index 8e178fe7..5007f7cb 100644 --- a/extensions/libxt_quota.c +++ b/extensions/libxt_quota.c @@ -16,14 +16,12 @@ static const struct option quota_opts[] = { { .name = NULL } }; -/* print usage */ static void quota_help(void) { printf("quota match options:\n" " --quota quota quota (bytes)\n"); } -/* print matchinfo */ static void quota_print(const void *ip, const struct xt_entry_match *match, int numeric) { @@ -31,7 +29,6 @@ quota_print(const void *ip, const struct xt_entry_match *match, int numeric) printf("quota: %llu bytes", (unsigned long long) q->quota); } -/* save matchinfo */ static void quota_save(const void *ip, const struct xt_entry_match *match) { @@ -55,7 +52,6 @@ parse_quota(const char *s, u_int64_t * quota) return 1; } -/* parse all options, returning true if we found any for us */ static int quota_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_match **match) |