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/libxt_conntrack.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'extensions/libxt_conntrack.c') diff --git a/extensions/libxt_conntrack.c b/extensions/libxt_conntrack.c index 1d339a03..79ed3b8a 100644 --- a/extensions/libxt_conntrack.c +++ b/extensions/libxt_conntrack.c @@ -22,7 +22,6 @@ #include #include -/* Function which prints out usage message. */ static void conntrack_mt_help(void) { printf( @@ -285,8 +284,6 @@ conntrack_ps_expires(struct xt_conntrack_mtinfo1 *info, const char *s) info->expires_max = max; } -/* Function which parses command options; returns true if it - ate an option */ static int conntrack_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_match **match) { @@ -792,7 +789,6 @@ print_addr(struct in_addr *addr, struct in_addr *mask, int inv, int numeric) } } -/* Saves the matchinfo in parsable form to stdout. */ static void matchinfo_print(const void *ip, const struct xt_entry_match *match, int numeric, const char *optpfx) { @@ -976,7 +972,6 @@ conntrack_dump(const struct xt_conntrack_mtinfo1 *info, const char *prefix, } } -/* Prints out the matchinfo. */ static void conntrack_print(const void *ip, const struct xt_entry_match *match, int numeric) { @@ -997,7 +992,6 @@ conntrack_mt6_print(const void *ip, const struct xt_entry_match *match, conntrack_dump((const void *)match->data, "", AF_INET6, numeric); } -/* Saves the matchinfo in parsable form to stdout. */ static void conntrack_save(const void *ip, const struct xt_entry_match *match) { matchinfo_print(ip, match, 1, "--"); -- cgit v1.2.3