diff options
author | Elise Lennion <elise.lennion@gmail.com> | 2017-01-17 13:44:54 -0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-01-18 18:54:45 +0100 |
commit | 7c038cca4276d9761d63f148b382488a83f4b1ad (patch) | |
tree | 28a01133f28c0b9417b54689dd96e54abe6b286e /tests/py/ip/redirect.t.payload | |
parent | 8af387ea9cc826fef1a7976e369b89c348efa5ff (diff) |
tests: py: Use stateless option on tests
To don't trigger false errors because of unrelated traffic on the
tested machine.
Tests, which have rules with counter and 'ok' result, are updated to
avoid new Warnings.
Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip/redirect.t.payload')
-rw-r--r-- | tests/py/ip/redirect.t.payload | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/py/ip/redirect.t.payload b/tests/py/ip/redirect.t.payload index dfb5a3bd..1f050bfe 100644 --- a/tests/py/ip/redirect.t.payload +++ b/tests/py/ip/redirect.t.payload @@ -179,7 +179,7 @@ ip test-ip4 output [ lookup reg 1 set __set%d ] [ redir ] -# ip daddr 10.0.0.0-10.2.3.4 udp dport 53 counter packets 0 bytes 0 redirect +# ip daddr 10.0.0.0-10.2.3.4 udp dport 53 counter redirect ip test-ip4 output [ payload load 4b @ network header + 16 => reg 1 ] [ cmp gte reg 1 0x0000000a ] |