]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
nft: doc: fix typos in asciidoc
authorArushi Singhal <arushisinghal19971997@gmail.com>
Sat, 11 Aug 2018 10:56:46 +0000 (16:26 +0530)
committerFlorian Westphal <fw@strlen.de>
Tue, 14 Aug 2018 11:01:40 +0000 (13:01 +0200)
Correct all the typos done while converting man page source to asciidoc.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
doc/data-types.txt
doc/nft.txt
doc/primary-expression.txt
doc/statements.txt

index 1d46bdc079f62e7b1297feb4f56c14e9c3f6ea55..87962595bda76a4de03584735056127a3f52e9e3 100644 (file)
@@ -268,7 +268,7 @@ ICMPV6 TYPE TYPE
 |==================
 |Name | Keyword | Size | Base type
 |ICMPv6 Type |
-icmpv6_type |
+icmpx_code |
 8 bit |
 integer
 |===================
index 5b477d862d8690d9095e1a9ac39848078ffc2496..6c73bc5aa6d911ba3605d070dcdf0dec516413db 100644 (file)
@@ -61,8 +61,8 @@ For a full summary of options, run *nft --help*.
 
 *-e*::
 *--echo*::
-       When  inserting  items  into the ruleset using add, insert or replace commands, print notifications
-       just like nft monitor.
+       When  inserting  items  into the ruleset using *add*, *insert* or *replace* commands, print notifications
+       just like *nft monitor*.
 
 *-I*::
 *--includepath directory*::
@@ -72,7 +72,7 @@ For a full summary of options, run *nft --help*.
 *-f*::
 *--file 'filename'*::
        Read input from 'filename'. If 'filename' is -, read from stdin. +
-       nft scripts must start #!/usr/sbin/nft -f
+       nft scripts must start *#!/usr/sbin/nft -f*
 
 *-i*::
 *--interactive*::
index 4ca096d83933d8db305d3b59531563b5c9cafac8..12b88bdd2a8a1f6a346734bbbac3cdaedc227b11 100644 (file)
@@ -130,7 +130,7 @@ raw prerouting meta secpath exists accept
 SOCKET EXPRESSION
 ~~~~~~~~~~~~~~~~~
 [verse]
-socket {transparent}
+*socket* \{transparent\}
 
 Socket expression can be used to search for an existing open TCP/UDP socket and
 its attributes that can be associated with a packet. It looks for an established
index b8b7a60707dd01453cbf9e1c9057cc673ac90a32..b93cf2cf94fa191fbf9e98b2105217483c5965fb 100644 (file)
@@ -62,8 +62,8 @@ tcp flags syn tcp option maxseg size set rt mtu
 LOG STATEMENT
 ~~~~~~~~~~~~~
 [verse]
-log [prefix quoted_string] [level syslog-level] [flags log-flags]
-log group nflog_group [prefix quoted_string] [queue-threshold value] [snaplen size]
+*log* [prefix 'quoted_string'] [level 'syslog-level'] [flags 'log-flags']
+*log* group 'nflog_group' [prefix 'quoted_string'] [queue-threshold 'value'] [snaplen 'size']
 
 The log statement enables logging of matching packets. When this statement is
 used from a rule, the Linux kernel will print some information on all matching
@@ -165,7 +165,7 @@ COUNTER STATEMENT
 A counter statement sets the hit count of packets along with the number of bytes.
 
 [verse]
-counter [ packets 'number' bytes 'number' ]
+*counter* [ packets 'number' bytes 'number' ]
 
 CONNTRACK STATEMENT
 ~~~~~~~~~~~~~~~~~~~