Skip to contentSkip to conversation

doc: nft.8: Fix markup in ct expectation synopsis

PATCH In review Phil Sutter 1 participant 3 messages Apr 24, 2024 – Apr 25, 2024 netfilter

lore
Share & tools
lore

Phil Sutter

author reviewer
#0 lore raw

PATCH 1/2 doc: nft.8: Fix markup in ct expectation synopsis

Just a missing asterisk somewhere.

Fixes 1dd08fcfa07a4 ("src: add ct expectations support")
---
 doc/stateful-objects.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/stateful-objects.txt +1 -1
index 00d3c5f104631..5824d53ad88f3 100644
@@ -119,7 +119,7 @@ sport=41360 dport=22
 CT EXPECTATION
 ~~~~~~~~~~~~~~
 [verse]
-*add* *ct expectation*  ['family'] 'table' 'name' *{ protocol* 'protocol' *; dport* 'dport' *; timeout* 'timeout' *; size* 'size' *; [*l3proto* 'family' *;*] *}*
+*add* *ct expectation*  ['family'] 'table' 'name' *{ protocol* 'protocol' *; dport* 'dport' *; timeout* 'timeout' *; size* 'size' *;* [*l3proto* 'family' *;*] *}*
 *delete* *ct expectation*  ['family'] 'table' 'name'
 *list* *ct expectations*
 
Signature · 1 line
2.43.0
author reviewer
#1 lore raw

PATCH 2/2 doc: nft.8: Highlight "hook" in flowtable description

Lacking an explicit description of possible hook values, emphasising the word in the description text should draw readers' attention in the right direction.

---
 doc/nft.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
doc/nft.txt +2 -2
index 2080c07350f6d..e4eb982e75af8 100644
@@ -747,8 +747,8 @@ protocols. Each entry also caches the destination interface and the gateway
 address - to update the destination link-layer address - to forward packets.
 The ttl and hoplimit fields are also decremented. Hence, flowtables provides an
 alternative path that allow packets to bypass the classic forwarding path.
-Flowtables reside in the ingress hook that is located before the prerouting
-hook. You can select which flows you want to offload through the flow
+Flowtables reside in the ingress *hook* that is located before the prerouting
+*hook*. You can select which flows you want to offload through the flow
 expression from the forward chain. Flowtables are identified by their address
 family and their name. The address family must be one of ip, ip6, or inet. The inet
 address family is a dummy family which is used to create hybrid IPv4/IPv6
Signature · 1 line
2.43.0