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/ip/masquerade.t.payload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/py/ip/masquerade.t.payload') diff --git a/tests/py/ip/masquerade.t.payload b/tests/py/ip/masquerade.t.payload index f4bbe99d..ad0ea518 100644 --- a/tests/py/ip/masquerade.t.payload +++ b/tests/py/ip/masquerade.t.payload @@ -97,7 +97,7 @@ ip test-ip4 postrouting [ lookup reg 1 set __set%d ] [ masq ] -# ip daddr 10.0.0.0-10.2.3.4 udp dport 53 counter packets 0 bytes 0 masquerade +# ip daddr 10.0.0.0-10.2.3.4 udp dport 53 counter masquerade ip test-ip4 postrouting [ payload load 4b @ network header + 16 => reg 1 ] [ cmp gte reg 1 0x0000000a ] -- cgit v1.2.3