From edc3e4f509b84b2661da75a9d059184cd496430d Mon Sep 17 00:00:00 2001 From: Arushi Singhal Date: Sat, 11 Aug 2018 16:26:46 +0530 Subject: nft: doc: fix typos in asciidoc Correct all the typos done while converting man page source to asciidoc. Signed-off-by: Arushi Singhal Signed-off-by: Florian Westphal --- 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(-) (limited to 'doc') 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 ~~~~~~~~~~~~~~~~~~~ -- cgit v1.2.3