Skip to contentSkip to conversation

doc: correct chain name in example of adding a rule.

PATCH Applied Jeremy Sowden 2 participants 2 messages Nov 1, 2020 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: correct chain name in example of adding a rule.

The example adds a rule to the output chain, not the input chain.

---
 doc/nft.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/nft.txt +1 -1
index 5326de167de8..47b55f934de9 100644
@@ -462,7 +462,7 @@ beginning of the chain or before the specified rule.
 *replace*:: Similar to *add*, but the rule replaces the specified rule.
 *delete*:: Delete the specified rule.
 
-.*add a rule to ip table input chain*
+.*add a rule to ip table output chain*
 -------------
 nft add rule filter output ip daddr 192.168.0.0/24 accept # 'ip filter' is assumed
 # same command, slightly more verbose
Signature · 1 line
2.28.0
maintainer Applied
#1 lore raw
Quoted 1 line · Jeremy Sowden

The example adds a rule to the output chain, not the input chain.

Applied, thanks.