diff options
author | Patrick McHardy <kaber@trash.net> | 2012-12-10 17:10:58 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2012-12-10 17:11:16 +0100 |
commit | 4ddc2fd15d8bea177e0fb1c8b538e4ab30d1ec7f (patch) | |
tree | be94050d20c83f262f8dce470b99642cc0e70ca5 /tests/loop-detect.3 | |
parent | 176698a280d24840b745a7ab57c553655e7dd1a6 (diff) |
tests: add loop detection tests
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'tests/loop-detect.3')
-rw-r--r-- | tests/loop-detect.3 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/loop-detect.3 b/tests/loop-detect.3 new file mode 100644 index 00000000..3b83ef12 --- /dev/null +++ b/tests/loop-detect.3 @@ -0,0 +1,7 @@ +#! nft -f + +# Circular jump when creating an anonymous verdict map: chain1 -> chain2 -> chain3 -> chain1 +flush table filter +add filter chain1 jump chain2 +add filter chain2 jump chain3 +add filter chain3 ip daddr vmap { 10.0.0.1 => continue, 192.168.0.1 => jump chain1 } |