All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: correct chain name in example of adding a rule.
@ 2020-11-01 19:33 Jeremy Sowden
  2020-11-01 20:21 ` Florian Westphal
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Sowden @ 2020-11-01 19:33 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: Netfilter Devel

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

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
---
 doc/nft.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/nft.txt b/doc/nft.txt
index 5326de167de8..47b55f934de9 100644
--- a/doc/nft.txt
+++ b/doc/nft.txt
@@ -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
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] doc: correct chain name in example of adding a rule.
  2020-11-01 19:33 [PATCH] doc: correct chain name in example of adding a rule Jeremy Sowden
@ 2020-11-01 20:21 ` Florian Westphal
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Westphal @ 2020-11-01 20:21 UTC (permalink / raw)
  To: Jeremy Sowden; +Cc: Pablo Neira Ayuso, Netfilter Devel

Jeremy Sowden <jeremy@azazel.net> wrote:
> The example adds a rule to the `output` chain, not the `input` chain.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-01 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-01 19:33 [PATCH] doc: correct chain name in example of adding a rule Jeremy Sowden
2020-11-01 20:21 ` Florian Westphal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.