summaryrefslogtreecommitdiffstats
path: root/iptables
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-08-07 13:15:34 +0200
committerFlorian Westphal <fw@strlen.de>2018-08-07 13:16:41 +0200
commit277f37407592f0d035dd525bc1321bce06fe9478 (patch)
tree60153794d0e6189e54648e57d043fb7f4a6e93c2 /iptables
parenta9d9f64b7c06c17c98c175f1c44e8979ba0e14c3 (diff)
xtables: Spelling fixes in xtables-monitor
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>
Diffstat (limited to 'iptables')
-rw-r--r--iptables/xtables-monitor.8.in8
-rw-r--r--iptables/xtables-monitor.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/iptables/xtables-monitor.8.in b/iptables/xtables-monitor.8.in
index 202842b9..b647a79e 100644
--- a/iptables/xtables-monitor.8.in
+++ b/iptables/xtables-monitor.8.in
@@ -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
diff --git a/iptables/xtables-monitor.c b/iptables/xtables-monitor.c
index a43a69af..035bc9f2 100644
--- a/iptables/xtables-monitor.c
+++ b/iptables/xtables-monitor.c
@@ -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);