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/libip6t_REJECT.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'extensions/libip6t_REJECT.c') diff --git a/extensions/libip6t_REJECT.c b/extensions/libip6t_REJECT.c index d4245e53..91448091 100644 --- a/extensions/libip6t_REJECT.c +++ b/extensions/libip6t_REJECT.c @@ -1,4 +1,4 @@ -/* Shared library add-on to iptables to add customized REJECT support. +/* Shared library add-on to ip6tables to add customized REJECT support. * * (C) 2000 Jozsef Kadlecsik * @@ -51,9 +51,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( @@ -69,7 +66,6 @@ static const struct option REJECT_opts[] = { { .name = NULL } }; -/* Allocate and initialize the target. */ static void REJECT_init(struct xt_entry_target *t) { struct ip6t_reject_info *reject = (struct ip6t_reject_info *)t->data; @@ -79,8 +75,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) { @@ -109,7 +103,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) { @@ -124,7 +117,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 ip6t_reject_info *reject -- cgit v1.2.3