summaryrefslogtreecommitdiffstats
path: root/tests/py/bridge/chains.t
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2020-05-24 15:00:07 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-05-25 21:53:16 +0200
commit118e2356f5e417231fbd624db488c756c8f66f61 (patch)
tree9120a23e00598992216efa4ee7be938eb365963f /tests/py/bridge/chains.t
parent6c824e781e45ff8474f4d72d8d5000872bf4cdfe (diff)
tests: py: Actually use all available hooks in bridge/chains.t
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> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/bridge/chains.t')
-rw-r--r--tests/py/bridge/chains.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/py/bridge/chains.t b/tests/py/bridge/chains.t
index 85dde73e..e071d9a3 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