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_rt.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'extensions/libip6t_rt.c') diff --git a/extensions/libip6t_rt.c b/extensions/libip6t_rt.c index 50c94444..207f5154 100644 --- a/extensions/libip6t_rt.c +++ b/extensions/libip6t_rt.c @@ -11,10 +11,9 @@ #include #include #include - + /*#define DEBUG 1*/ -/* Function which prints out usage message. */ static void rt_help(void) { printf( @@ -136,7 +135,6 @@ parse_addresses(const char *addrstr, struct in6_addr *addrp) return i; } -/* Initialize the match. */ static void rt_init(struct xt_entry_match *m) { struct ip6t_rt *rtinfo = (struct ip6t_rt *)m->data; @@ -150,8 +148,6 @@ static void rt_init(struct xt_entry_match *m) rtinfo->addrnr = 0; } -/* Function which parses command options; returns true if it - ate an option */ static int rt_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_match **match) { @@ -264,7 +260,6 @@ print_addresses(unsigned int addrnr, struct in6_addr *addrp) } } -/* Prints out the union ip6t_matchinfo. */ static void rt_print(const void *ip, const struct xt_entry_match *match, int numeric) { @@ -291,7 +286,6 @@ static void rt_print(const void *ip, const struct xt_entry_match *match, rtinfo->invflags & ~IP6T_RT_INV_MASK); } -/* Saves the union ip6t_matchinfo in parsable form to stdout. */ static void rt_save(const void *ip, const struct xt_entry_match *match) { const struct ip6t_rt *rtinfo = (struct ip6t_rt *)match->data; -- cgit v1.2.3