diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2020-11-01 19:33:13 +0000 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2020-11-01 21:21:01 +0100 |
commit | c384c0cb819694d2cf81f238304f6e0f6e79a424 (patch) | |
tree | 31a4de95cadc03298fe1038904482c9626fde0b4 /doc/nft.txt | |
parent | a1e3a5d4a4e24db9a3511a32ff72e830b4c06ddd (diff) |
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 <jeremy@azazel.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'doc/nft.txt')
-rw-r--r-- | doc/nft.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nft.txt b/doc/nft.txt index 36b00a6f..2642d890 100644 --- a/doc/nft.txt +++ b/doc/nft.txt @@ -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 |