]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
doc: Spelling and grammar fixes
authorVille Skyttä <ville.skytta@iki.fi>
Tue, 13 Nov 2018 09:46:08 +0000 (11:46 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 13 Nov 2018 10:35:25 +0000 (11:35 +0100)
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
doc/data-types.txt
doc/libnftables-json.adoc
doc/libnftables.adoc
doc/nft.txt
doc/primary-expression.txt
tests/json_echo/run-test.py

index 2692afded5feaa48626536828d63754685221e1d..5c132f86debc37e1094c78da44f92c1910f0b963 100644 (file)
@@ -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). +
 
index 414702c7b88a42fbe2e2b7a6ee35695cb549dd9b..c95ab32086a88503f2b819332c3369d57cea58ec 100644 (file)
@@ -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.
 
index 12deebcb6717eafa057075c3f9a4baa2ccf5b075..7f6eef8e6e62dd702816617e924964068a3818eb 100644 (file)
@@ -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.
index fca91450f5b8fb0e404b3b3b68697958199ed5ed..88f5b0d4cc1651fdc4cf69b5b3c41328fe27ebaf 100644 (file)
@@ -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]
index 5846898e170e99911b5a8c9bd33c27178bd88e69..6995d3270c4631f55a4627be14c3e3fea5396198 100644 (file)
@@ -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
index dcef3f1b2819ac676d849a4ab2533bc40f5b8939..52a9f259e6fcc934f5b63f86436106f74ccb819c 100755 (executable)
@@ -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"