[iptables PATCH] xtables: Spelling fixes in xtables-monitor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
---
 iptables/xtables-monitor.8.in | 8 ++++----
 iptables/xtables-monitor.c    | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/iptables/xtables-monitor.8.in b/iptables/xtables-monitor.8.in
index 202842b9068fb..b647a79eb64ed 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 e7116545f5030..3b1ca777a28a0 100644
--- a/iptables/xtables-monitor.c
+++ b/iptables/xtables-monitor.c
@@ -578,10 +578,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);
-- 
2.18.0

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux