summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2025-09-17 21:34:53 +0100
committerFlorian Westphal <fw@strlen.de>2025-10-31 12:33:57 +0100
commita642381ae442a7cb90b71f49b017057ca745cf36 (patch)
treec870bf3e022e8edc77822333ee25777d7fdc2544
parentf34381547094a80d182bd523c372fa87f7ad9b2e (diff)
doc: fix some man-page mistakes
Correct one typo and two non-native usages. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Florian Westphal <fw@strlen.de>
-rw-r--r--doc/nft.txt2
-rw-r--r--doc/payload-expression.txt2
-rw-r--r--doc/statements.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/nft.txt b/doc/nft.txt
index 7d01163e..b1f7a83a 100644
--- a/doc/nft.txt
+++ b/doc/nft.txt
@@ -810,7 +810,7 @@ map policy |
string: performance [default], memory
|=================
-Users can specifiy the properties/features that the set/map must support.
+Users can specify the properties/features that the set/map must support.
This allows the kernel to pick an optimal internal representation.
If a required flag is missing, the ruleset might still work, as
nftables will auto-enable features if it can infer this from the ruleset.
diff --git a/doc/payload-expression.txt b/doc/payload-expression.txt
index ce0c6a23..351c79bc 100644
--- a/doc/payload-expression.txt
+++ b/doc/payload-expression.txt
@@ -562,7 +562,7 @@ GRE HEADER EXPRESSION
*gre* *ip6* {*version* | *dscp* | *ecn* | *flowlabel* | *length* | *nexthdr* | *hoplimit* | *saddr* | *daddr*}
The gre expression is used to match on the gre header fields. This expression
-also allows to match on the IPv4 or IPv6 packet within the gre header.
+also allows one to match on the IPv4 or IPv6 packet within the gre header.
.GRE header expression
[options="header"]
diff --git a/doc/statements.txt b/doc/statements.txt
index 3475ef4e..0b143981 100644
--- a/doc/statements.txt
+++ b/doc/statements.txt
@@ -469,7 +469,7 @@ Before kernel 4.18 nat statements require both prerouting and postrouting base c
to be present since otherwise packets on the return path won't be seen by
netfilter and therefore no reverse translation will take place.
-The optional *prefix* keyword allows to map *n* source addresses to *n*
+The optional *prefix* keyword allows one to map *n* source addresses to *n*
destination addresses. See 'Advanced NAT examples' below.
If the 'address' for *dnat* is an IPv4 loopback address