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_dst.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'extensions/libip6t_dst.c') diff --git a/extensions/libip6t_dst.c b/extensions/libip6t_dst.c index 8882b117..aff20b7e 100644 --- a/extensions/libip6t_dst.c +++ b/extensions/libip6t_dst.c @@ -1,4 +1,4 @@ -/* Shared library add-on to ip6tables to add Hop-by-Hop and Dst headers support. */ +/* Shared library add-on to ip6tables to add Dst header support. */ #include #include #include @@ -11,7 +11,6 @@ #include #include -/* Function which prints out usage message. */ static void dst_help(void) { printf( @@ -107,7 +106,6 @@ parse_options(const char *optsstr, u_int16_t *opts) return i; } -/* Initialize the match. */ static void dst_init(struct xt_entry_match *m) { struct ip6t_opts *optinfo = (struct ip6t_opts *)m->data; @@ -118,8 +116,6 @@ static void dst_init(struct xt_entry_match *m) optinfo->optsnr = 0; } -/* Function which parses command options; returns true if it - ate an option */ static int dst_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_match **match) { @@ -182,7 +178,6 @@ print_options(unsigned int optsnr, u_int16_t *optsp) } } -/* Prints out the union ip6t_matchinfo. */ static void dst_print(const void *ip, const struct xt_entry_match *match, int numeric) { @@ -207,7 +202,6 @@ static void dst_print(const void *ip, const struct xt_entry_match *match, optinfo->invflags & ~IP6T_OPTS_INV_MASK); } -/* Saves the union ip6t_matchinfo in parsable form to stdout. */ static void dst_save(const void *ip, const struct xt_entry_match *match) { const struct ip6t_opts *optinfo = (struct ip6t_opts *)match->data; -- cgit v1.2.3