]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
xtables: Spelling fixes in xtables-monitor
authorPhil Sutter <phil@nwl.cc>
Tue, 7 Aug 2018 11:15:34 +0000 (13:15 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 7 Aug 2018 11:16:41 +0000 (13:16 +0200)
Fix a few minor spelling issues in xtables-monitor help output and man
page. While being at it, change 'ipv4' and 'ipv6' to 'IPv4' and 'IPv6',
respectively.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/xtables-monitor.8.in
iptables/xtables-monitor.c

index 202842b9068fb3a1ccd63da5d9deb5a7835bb6ce..b647a79eb64ed5cdded85f8d07dda2d7decba702 100644 (file)
@@ -25,10 +25,10 @@ Watch for trace events generated by packets that have been tagged
 using the TRACE target.
 .TP
 \fB\-4\fP
-Restrict output to ipv4.
+Restrict output to IPv4.
 .TP
 \fB\-6\fP
-Restrict output to ipv6.
+Restrict output to IPv6.
 .SH EXAMPLE OUTPUT
 .TP
 .B xtables-monitor \-\-trace
@@ -55,10 +55,10 @@ PREROUTING chain, and is returning, followed by use the chain policy to make acc
 decision (the example shows accept being applied).
 The fifth line shows that the packet leaves the filter INPUT chain, i.e., no rules in the filter tables
 INPUT chain matched the packet.
-It then got DROPPED by the policy of the INPUT table, as hown by line six.
+It then got DROPPED by the policy of the INPUT table, as shown by line six.
 The last line shows another packet arriving \-\- the packet id is different.
 
-When using the TRACE target, it is usally a good idea to only select packets
+When using the TRACE target, it is usually a good idea to only select packets
 that are relevant, for example via
 .nf
 iptables \-t raw \-A PREROUTING \-p tcp \-\-dport 80 \-\-syn \-m limit \-\-limit 1/s \-j TRACE
index a43a69af327e073a77793fc51331fa4fcd1eebb9..035bc9f2b353bdcf399f83ec95fc264421eaf2fe 100644 (file)
@@ -577,10 +577,10 @@ static void print_usage(void)
                          xtables_globals.program_version);
        printf("Usage: %s [ -t | -e ]\n"
               "        --trace    -t    trace ruleset traversal of packets tagged via -j TRACE rule\n"
-              "        --event    -e    show events  taht modify the ruleset\n"
+              "        --event    -e    show events that modify the ruleset\n"
               "Optional arguments:\n"
-              "        --ipv4     -4    only monitor ipv4\n"
-              "        --ipv6     -6    only monitor ipv6\n"
+              "        --ipv4     -4    only monitor IPv4\n"
+              "        --ipv6     -6    only monitor IPv6\n"
               "        --counters -c    show counters in rules\n"
 
               , xtables_globals.program_name);