]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
doc: correct chain name in example of adding a rule
authorJeremy Sowden <jeremy@azazel.net>
Sun, 1 Nov 2020 19:33:13 +0000 (19:33 +0000)
committerFlorian Westphal <fw@strlen.de>
Sun, 1 Nov 2020 20:21:01 +0000 (21:21 +0100)
The example adds a rule to the `output` chain, not the `input` chain.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
doc/nft.txt

index 36b00a6fa85afda68aca4299b0675d5c7f3fc807..2642d8903787fd3a7be911ee73d5686d62e597bd 100644 (file)
@@ -475,7 +475,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