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/masquerade.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/masquerade.t.payload')
-rw-r--r-- | tests/py/ip/masquerade.t.payload | 2 |
1 files changed, 1 insertions, 1 deletions
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 ] |