From 7c038cca4276d9761d63f148b382488a83f4b1ad Mon Sep 17 00:00:00 2001 From: Elise Lennion Date: Tue, 17 Jan 2017 13:44:54 -0200 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- tests/py/ip6/redirect.t.payload.ip6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/py/ip6/redirect.t.payload.ip6') diff --git a/tests/py/ip6/redirect.t.payload.ip6 b/tests/py/ip6/redirect.t.payload.ip6 index 420e1f36..f256326a 100644 --- a/tests/py/ip6/redirect.t.payload.ip6 +++ b/tests/py/ip6/redirect.t.payload.ip6 @@ -10,7 +10,7 @@ ip6 test-ip6 output [ cmp eq reg 1 0x0000ba03 ] [ redir ] -# ip6 saddr fe00::cafe counter packets 0 bytes 0 redirect +# ip6 saddr fe00::cafe counter redirect ip6 test-ip6 output [ payload load 16b @ network header + 8 => reg 1 ] [ cmp eq reg 1 0x000000fe 0x00000000 0x00000000 0xfeca0000 ] @@ -163,7 +163,7 @@ ip6 test-ip6 output [ lookup reg 1 set __set%d ] [ redir ] -# ip6 daddr fe00::1-fe00::200 udp dport 53 counter packets 0 bytes 0 redirect +# ip6 daddr fe00::1-fe00::200 udp dport 53 counter redirect ip6 test-ip6 output [ payload load 16b @ network header + 24 => reg 1 ] [ cmp gte reg 1 0x000000fe 0x00000000 0x00000000 0x01000000 ] -- cgit v1.2.3