From c384c0cb819694d2cf81f238304f6e0f6e79a424 Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Sun, 1 Nov 2020 19:33:13 +0000 Subject: 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 Signed-off-by: Florian Westphal --- doc/nft.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/nft.txt') 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 -- cgit v1.2.3