summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorArushi Singhal <arushisinghal19971997@gmail.com>2018-08-11 16:26:46 +0530
committerFlorian Westphal <fw@strlen.de>2018-08-14 13:01:40 +0200
commitedc3e4f509b84b2661da75a9d059184cd496430d (patch)
tree21f4c090f65e7ac29e037229503622e1c2e58a3d /doc
parent760a8bab07ade570e589bc8da36935776d225d95 (diff)
nft: doc: fix typos in asciidoc
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/data-types.txt2
-rw-r--r--doc/nft.txt6
-rw-r--r--doc/primary-expression.txt2
-rw-r--r--doc/statements.txt6
4 files changed, 8 insertions, 8 deletions
diff --git a/doc/data-types.txt b/doc/data-types.txt
index 1d46bdc0..87962595 100644
--- a/doc/data-types.txt
+++ b/doc/data-types.txt
@@ -268,7 +268,7 @@ ICMPV6 TYPE TYPE
|==================
|Name | Keyword | Size | Base type
|ICMPv6 Type |
-icmpv6_type |
+icmpx_code |
8 bit |
integer
|===================
diff --git a/doc/nft.txt b/doc/nft.txt
index 5b477d86..6c73bc5a 100644
--- a/doc/nft.txt
+++ b/doc/nft.txt
@@ -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*::
diff --git a/doc/primary-expression.txt b/doc/primary-expression.txt
index 4ca096d8..12b88bdd 100644
--- a/doc/primary-expression.txt
+++ b/doc/primary-expression.txt
@@ -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
diff --git a/doc/statements.txt b/doc/statements.txt
index b8b7a607..b93cf2cf 100644
--- a/doc/statements.txt
+++ b/doc/statements.txt
@@ -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
~~~~~~~~~~~~~~~~~~~