summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2018-11-13 11:46:08 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-11-13 11:35:25 +0100
commit51d3566eb4983be96ab2eaa8c176696206114d84 (patch)
treee1426823bdc31a8313de2ac5c4ae034f74ea35a1 /doc
parentb3c8de9c5aecde38eec964f31120df82b9704c8c (diff)
doc: Spelling and grammar fixes
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/data-types.txt2
-rw-r--r--doc/libnftables-json.adoc4
-rw-r--r--doc/libnftables.adoc2
-rw-r--r--doc/nft.txt6
-rw-r--r--doc/primary-expression.txt2
5 files changed, 8 insertions, 8 deletions
diff --git a/doc/data-types.txt b/doc/data-types.txt
index 2692afde..5c132f86 100644
--- a/doc/data-types.txt
+++ b/doc/data-types.txt
@@ -136,7 +136,7 @@ boolean |
integer
|===================
-The boolean type is a syntactical helper type in userspace. It's use is in the
+The boolean type is a syntactical helper type in userspace. Its use is in the
right-hand side of a (typically implicit) relational expression to change the
expression on the left-hand side into a boolean check (usually for existence). +
diff --git a/doc/libnftables-json.adoc b/doc/libnftables-json.adoc
index 414702c7..c95ab320 100644
--- a/doc/libnftables-json.adoc
+++ b/doc/libnftables-json.adoc
@@ -40,11 +40,11 @@ library standard output into JSON format. Error output remains unaffected.
== GLOBAL STRUCTURE
In general, any JSON input or output is enclosed in an object with a single
-property named 'nftables'. It's value is an array containing commands (for
+property named 'nftables'. Its value is an array containing commands (for
input) or ruleset elements (for output).
A command is an object with a single property whose name identifies the command.
-It's value is a ruleset element - basically identical to output elements apart
+Its value is a ruleset element - basically identical to output elements apart
from certain properties which may be interpreted differently or are required
when output generally omits them.
diff --git a/doc/libnftables.adoc b/doc/libnftables.adoc
index 12deebcb..7f6eef8e 100644
--- a/doc/libnftables.adoc
+++ b/doc/libnftables.adoc
@@ -46,7 +46,7 @@ ____
== DESCRIPTION
This library was designed with nftables integration into applications in mind.
-It's API is therefore kept as simple as possible, which somewhat limits its flexibility.
+Its API is therefore kept as simple as possible, which somewhat limits its flexibility.
Due to support for JSON markup of input and output though, convenience in constructing and parsing of input and output data may be achieved by using a third-party library such as *libjansson*.
At the very basic level, one has to allocate a new object of type *struct nft_ctx* using *nft_ctx_new*() function, then pass commands via *nft_run_cmd_from_buffer*() or *nft_run_cmd_from_filename*() functions.
diff --git a/doc/nft.txt b/doc/nft.txt
index fca91450..88f5b0d4 100644
--- a/doc/nft.txt
+++ b/doc/nft.txt
@@ -392,9 +392,9 @@ the others. See the following tables that describe the values and compatibility.
| srcnat | 300 | postrouting
|==================
-Basic arithmetic expressions (addition and substraction) can also be achieved
+Basic arithmetic expressions (addition and subtraction) can also be achieved
with these standard names to ease relative prioritizing, eg. *mangle - 5* stands
-for *-155*. Values will also be printed like this untill the value is not
+for *-155*. Values will also be printed like this until the value is not
further than 10 form the standard value.
Base chains also allow to set the chain's *policy*, i.e. what happens to
@@ -592,7 +592,7 @@ address family is a dummy family which is used to create hybrid IPv4/IPv6
tables. When no address family is specified, ip is used by default.
The *priority* can be a signed integer or *filter* which stands for 0. Addition
-and substraction can be used to set relative priority eg. filter + 5 equals to
+and subtraction can be used to set relative priority eg. filter + 5 equals to
5.
[horizontal]
diff --git a/doc/primary-expression.txt b/doc/primary-expression.txt
index 5846898e..6995d327 100644
--- a/doc/primary-expression.txt
+++ b/doc/primary-expression.txt
@@ -328,7 +328,7 @@ IPSEC EXPRESSIONS
*ipsec* {in | out} [ spnum 'NUM' ] {reqid | spi }
*ipsec* {in | out} [ spnum 'NUM' ] {ip | ip6 } { saddr | daddr }
-A ipsec expression refers to ipsec data associated with a packet.
+An ipsec expression refers to ipsec data associated with a packet.
The 'in' or 'out' keyword needs to be used to specify if the expression should
examine inbound or outbound policies. The 'in' keyword can be used in the