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/libipt_LOG.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'extensions/libipt_LOG.c') diff --git a/extensions/libipt_LOG.c b/extensions/libipt_LOG.c index 50b1130c..57c35b05 100644 --- a/extensions/libipt_LOG.c +++ b/extensions/libipt_LOG.c @@ -17,7 +17,6 @@ #define IPT_LOG_MASK 0x0f #endif -/* Function which prints out usage message. */ static void LOG_help(void) { printf( @@ -40,7 +39,6 @@ static const struct option LOG_opts[] = { { .name = NULL } }; -/* Initialize the target. */ static void LOG_init(struct xt_entry_target *t) { struct ipt_log_info *loginfo = (struct ipt_log_info *)t->data; @@ -103,8 +101,6 @@ parse_level(const char *level) #define IPT_LOG_OPT_IPOPT 0x10 #define IPT_LOG_OPT_UID 0x20 -/* Function which parses command options; returns true if it - ate an option */ static int LOG_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_target **target) { @@ -194,7 +190,6 @@ static int LOG_parse(int c, char **argv, int invert, unsigned int *flags, return 1; } -/* Prints out the targinfo. */ static void LOG_print(const void *ip, const struct xt_entry_target *target, int numeric) { @@ -233,7 +228,6 @@ static void LOG_print(const void *ip, const struct xt_entry_target *target, printf("prefix `%s' ", loginfo->prefix); } -/* Saves the union ipt_targinfo in parsable form to stdout. */ static void LOG_save(const void *ip, const struct xt_entry_target *target) { const struct ipt_log_info *loginfo -- cgit v1.2.3