From ddac6c5bc636003d664d25c08ea3fe176565096c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 1 Sep 2008 14:22:19 +0200 Subject: 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 Signed-off-by: Patrick McHardy --- extensions/libipt_REJECT.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'extensions/libipt_REJECT.c') 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 -- cgit v1.2.3