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/libipt_REJECT.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/libipt_REJECT.c')
-rw-r--r-- | extensions/libipt_REJECT.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/extensions/libipt_REJECT.c b/extensions/libipt_REJECT.c index fd272c47..5f9407ca 100644 --- a/extensions/libipt_REJECT.c +++ b/extensions/libipt_REJECT.c @@ -64,9 +64,6 @@ print_reject_types(void) printf("\n"); } -/* Saves the union ipt_targinfo in parsable form to stdout. */ - -/* Function which prints out usage message. */ static void REJECT_help(void) { printf( @@ -84,7 +81,6 @@ static const struct option REJECT_opts[] = { { .name = NULL } }; -/* Allocate and initialize the target. */ static void REJECT_init(struct xt_entry_target *t) { struct ipt_reject_info *reject = (struct ipt_reject_info *)t->data; @@ -94,8 +90,6 @@ static void REJECT_init(struct xt_entry_target *t) } -/* Function which parses command options; returns true if it - ate an option */ static int REJECT_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_target **target) { @@ -128,7 +122,6 @@ static int REJECT_parse(int c, char **argv, int invert, unsigned int *flags, return 0; } -/* Prints out ipt_reject_info. */ static void REJECT_print(const void *ip, const struct xt_entry_target *target, int numeric) { @@ -143,7 +136,6 @@ static void REJECT_print(const void *ip, const struct xt_entry_target *target, printf("reject-with %s ", reject_table[i].name); } -/* Saves ipt_reject in parsable form to stdout. */ static void REJECT_save(const void *ip, const struct xt_entry_target *target) { const struct ipt_reject_info *reject |