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_frag.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'extensions/libip6t_frag.c') diff --git a/extensions/libip6t_frag.c b/extensions/libip6t_frag.c index 1dd48baf..b651a95f 100644 --- a/extensions/libip6t_frag.c +++ b/extensions/libip6t_frag.c @@ -7,8 +7,7 @@ #include #include #include - -/* Function which prints out usage message. */ + static void frag_help(void) { printf( @@ -74,7 +73,6 @@ parse_frag_ids(const char *idstring, u_int32_t *ids) free(buffer); } -/* Initialize the match. */ static void frag_init(struct xt_entry_match *m) { struct ip6t_frag *fraginfo = (struct ip6t_frag *)m->data; @@ -86,8 +84,6 @@ static void frag_init(struct xt_entry_match *m) fraginfo->invflags = 0; } -/* Function which parses command options; returns true if it - ate an option */ static int frag_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_match **match) { @@ -166,7 +162,6 @@ print_ids(const char *name, u_int32_t min, u_int32_t max, } } -/* Prints out the union ip6t_matchinfo. */ static void frag_print(const void *ip, const struct xt_entry_match *match, int numeric) { @@ -199,7 +194,6 @@ static void frag_print(const void *ip, const struct xt_entry_match *match, frag->invflags & ~IP6T_FRAG_INV_MASK); } -/* Saves the union ip6t_matchinfo in parsable form to stdout. */ static void frag_save(const void *ip, const struct xt_entry_match *match) { const struct ip6t_frag *fraginfo = (struct ip6t_frag *)match->data; -- cgit v1.2.3