netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nft] tests: py: Actually use all available hooks in bridge/chains.t
@ 2020-05-24 13:00 Stefano Brivio
  2020-05-25 20:04 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Stefano Brivio @ 2020-05-24 13:00 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: Ana Rey, netfilter-devel

Despite being explicitly mentioned as available, prerouting and
postrouting hooks are not used, filter-pre and filter-post chains
are both built to hook on input.

Fixes: 25851df85e85 ("tests: regression: revisit chain tests")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
---
 tests/py/bridge/chains.t | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/py/bridge/chains.t b/tests/py/bridge/chains.t
index 85dde73e8520..e071d9a3c971 100644
--- a/tests/py/bridge/chains.t
+++ b/tests/py/bridge/chains.t
@@ -1,8 +1,8 @@
 # filter chains available are: prerouting, input, output, forward, postrouting
-:filter-pre;type filter hook input priority 0
+:filter-pre;type filter hook prerouting priority 0
 :filter-output;type filter hook output priority 0
 :filter-forward;type filter hook forward priority 0
 :filter-input;type filter hook input priority 0
-:filter-post;type filter hook input priority 0
+:filter-post;type filter hook postrouting priority 0
 
 *bridge;test-bridge;filter-pre,filter-output,filter-forward,filter-input,filter-post
-- 
2.26.2


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

* Re: [PATCH nft] tests: py: Actually use all available hooks in bridge/chains.t
  2020-05-24 13:00 [PATCH nft] tests: py: Actually use all available hooks in bridge/chains.t Stefano Brivio
@ 2020-05-25 20:04 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2020-05-25 20:04 UTC (permalink / raw)
  To: Stefano Brivio; +Cc: Ana Rey, netfilter-devel

On Sun, May 24, 2020 at 03:00:07PM +0200, Stefano Brivio wrote:
> Despite being explicitly mentioned as available, prerouting and
> postrouting hooks are not used, filter-pre and filter-post chains
> are both built to hook on input.

Applied, thanks.

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

end of thread, other threads:[~2020-05-25 20:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-24 13:00 [PATCH nft] tests: py: Actually use all available hooks in bridge/chains.t Stefano Brivio
2020-05-25 20:04 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).