diff options
author | Florian Westphal <fw@strlen.de> | 2018-03-31 16:18:55 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-04-01 00:05:53 +0200 |
commit | e7c93a28576665c2c8426b13cb630a2381577200 (patch) | |
tree | 5f67f75a87a8ea951593e43b4212948119849d45 /tests/py/ip/redirect.t | |
parent | 403b46ada490ed8146b02ea740c42695c3874b75 (diff) |
tests: redirect: fix tests for upcoming nft-test.py fix
nft-test.py currently fails to properly compare tests involving a set,
after that bug is fixed these lines would fail, so fix this up before.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/ip/redirect.t')
-rw-r--r-- | tests/py/ip/redirect.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/py/ip/redirect.t b/tests/py/ip/redirect.t index 79323611..d2991ce2 100644 --- a/tests/py/ip/redirect.t +++ b/tests/py/ip/redirect.t @@ -44,8 +44,8 @@ ip saddr 10.1.1.1 redirect drop;fail # redirect with sets tcp dport { 1, 2, 3, 4, 5, 6, 7, 8, 101, 202, 303, 1001, 2002, 3003} redirect;ok ip daddr 10.0.0.0-10.2.3.4 udp dport 53 counter redirect;ok -iifname eth0 ct state new,established tcp dport vmap {22 : drop, 222 : drop } redirect;ok +iifname "eth0" ct state established,new tcp dport vmap {22 : drop, 222 : drop } redirect;ok # redirect with maps -ip protocol 6 redirect to : tcp dport map { 22 : 8000, 80 : 8080};ok +ip protocol 6 redirect to :tcp dport map { 22 : 8000, 80 : 8080};ok |