[PATCH v2] nft: doc: Fixed typos in asciidoc

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

 



Correct all the typo mistakes done while converting man page source to
asciidoc.

Signed-off-by: Arushi Singhal <arushisinghal19971997@xxxxxxxxx>
---
changes in v2
-submit the patch on top of current git HEAD

 doc/data-types.txt         | 2 +-
 doc/nft.txt                | 6 +++---
 doc/primary-expression.txt | 2 +-
 doc/statements.txt         | 6 +++---
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/doc/data-types.txt b/doc/data-types.txt
index 1d46bdc..8796259 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 5b477d8..6c73bc5 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 4ca096d..12b88bd 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 b8b7a60..b93cf2c 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
 ~~~~~~~~~~~~~~~~~~~
-- 
2.7.4




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

  Powered by Linux