diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-09-01 14:22:19 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-09-01 14:22:19 +0200 |
commit | ddac6c5bc636003d664d25c08ea3fe176565096c (patch) | |
tree | b8630ca5953dfee6fb03d39ed52eff39617262b0 /extensions/libipt_set.c | |
parent | a2a7f2b531cc582ab6cc3c2b73715ed1d58b9eab (diff) |
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 <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'extensions/libipt_set.c')
-rw-r--r-- | extensions/libipt_set.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/extensions/libipt_set.c b/extensions/libipt_set.c index 759bca33..1bacddab 100644 --- a/extensions/libipt_set.c +++ b/extensions/libipt_set.c @@ -21,7 +21,6 @@ #include <linux/netfilter_ipv4/ipt_set.h> #include "libipt_set.h" -/* Function which prints out usage message. */ static void set_help(void) { printf("set match options:\n" @@ -36,7 +35,6 @@ static const struct option set_opts[] = { { } }; -/* Initialize the match. */ static void set_init(struct xt_entry_match *match) { struct ipt_set_info_match *info = @@ -47,7 +45,6 @@ static void set_init(struct xt_entry_match *match) } -/* Function which parses command options; returns true if it ate an option */ static int set_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_match **match) { @@ -91,7 +88,6 @@ static int set_parse(int c, char **argv, int invert, unsigned int *flags, return 1; } -/* Final check; must have specified --set. */ static void set_check(unsigned int flags) { if (!flags) @@ -131,7 +127,6 @@ static void set_print(const void *ip, const struct xt_entry_match *match, print_match("set", &info->match_set); } -/* Saves the matchinfo in parsable form to stdout. */ static void set_save(const void *ip, const struct xt_entry_match *match) { struct ipt_set_info_match *info = |