diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2015-09-06 09:22:30 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-07 20:24:59 +0200 |
commit | 92dc4f6e0efeb55b1635790147b3dcac327f308f (patch) | |
tree | d26597f8a9a413e206ffb685367eb20a28013f8a /iptables/ip6tables.c | |
parent | 5d4a3ec2c8d8fbe8ea25ae5985ca344b740ff90f (diff) |
iptables: Spelling fixes
While at it, update comment format for the respective blocks.
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/ip6tables.c')
-rw-r--r-- | iptables/ip6tables.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/iptables/ip6tables.c b/iptables/ip6tables.c index 8db13b45..2731209e 100644 --- a/iptables/ip6tables.c +++ b/iptables/ip6tables.c @@ -1046,7 +1046,7 @@ static int print_match_save(const struct xt_entry_match *e, return 0; } -/* print a given ip including mask if neccessary */ +/* Print a given ip including mask if necessary. */ static void print_ip(const char *prefix, const struct in6_addr *ip, const struct in6_addr *mask, int invert) { @@ -1067,8 +1067,9 @@ static void print_ip(const char *prefix, const struct in6_addr *ip, printf("/%d", l); } -/* We want this to be readable, so only print out neccessary fields. - * Because that's the kind of world I want to live in. */ +/* We want this to be readable, so only print out necessary fields. + * Because that's the kind of world I want to live in. + */ void print_rule6(const struct ip6t_entry *e, struct xtc_handle *h, const char *chain, int counters) { @@ -1840,10 +1841,11 @@ int do_command6(int argc, char *argv[], char **table, } if (!cs.target) { - /* it is no chain, and we can't load a plugin. + /* It is no chain, and we can't load a plugin. * We cannot know if the plugin is corrupt, non - * existant OR if the user just misspelled a - * chain. */ + * existent OR if the user just misspelled a + * chain. + */ #ifdef IP6T_F_GOTO if (cs.fw6.ipv6.flags & IP6T_F_GOTO) xtables_error(PARAMETER_PROBLEM, |