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/libip6t_ipv6header.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/libip6t_ipv6header.c')
-rw-r--r-- | extensions/libip6t_ipv6header.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/extensions/libip6t_ipv6header.c b/extensions/libip6t_ipv6header.c index 547f9665..a3cfc62f 100644 --- a/extensions/libip6t_ipv6header.c +++ b/extensions/libip6t_ipv6header.c @@ -179,7 +179,6 @@ parse_header(const char *flags) { #define IPV6_HDR_HEADER 0x01 #define IPV6_HDR_SOFT 0x02 -/* Parses command options; returns 0 if it ate an option */ static int ipv6header_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_match **match) @@ -218,7 +217,6 @@ ipv6header_parse(int c, char **argv, int invert, unsigned int *flags, return 1; } -/* Checks the flags variable */ static void ipv6header_check(unsigned int flags) { if (!flags) exit_error(PARAMETER_PROBLEM, "ip6t_ipv6header: no options specified"); @@ -246,7 +244,6 @@ print_header(u_int8_t flags){ printf("NONE"); } -/* Prints out the match */ static void ipv6header_print(const void *ip, const struct xt_entry_match *match, int numeric) { @@ -269,7 +266,6 @@ static void ipv6header_print(const void *ip, return; } -/* Saves the match */ static void ipv6header_save(const void *ip, const struct xt_entry_match *match) { |