[PATCH nftables] doc: Spelling and grammar fixes

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

 



Signed-off-by: Ville Skyttä <ville.skytta@xxxxxx>
---
 doc/data-types.txt          | 2 +-
 doc/libnftables-json.adoc   | 4 ++--
 doc/libnftables.adoc        | 2 +-
 doc/nft.txt                 | 6 +++---
 doc/primary-expression.txt  | 2 +-
 tests/json_echo/run-test.py | 2 +-
 6 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/doc/data-types.txt b/doc/data-types.txt
index 2692afd..5c132f8 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 414702c..c95ab32 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 12deebc..7f6eef8 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 fca9145..88f5b0d 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 5846898..6995d32 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
diff --git a/tests/json_echo/run-test.py b/tests/json_echo/run-test.py
index dcef3f1..52a9f25 100755
--- a/tests/json_echo/run-test.py
+++ b/tests/json_echo/run-test.py
@@ -152,7 +152,7 @@ except Exception as e:
     exit_dump(e, out)
 
 # adjust names and add items again
-# Note: Add second chain to same table, otherwise it's handle will be the same
+# Note: Add second chain to same table, otherwise its handle will be the same
 # as before. Same for the set and the rule. Bug?
 
 table_out["add"]["table"]["name"] = "t2"
-- 
2.17.1




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

  Powered by Linux