doc: correct chain name in example of adding a rule.
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.
Signed-off-by Jeremy Sowden <[email protected]>
--- doc/nft.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/nft.txt +1 -1
@@ -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
Quoted 1 line · Jeremy Sowden
The example adds a rule to the
outputchain, not theinputchain.
Applied, thanks.