From e7c93a28576665c2c8426b13cb630a2381577200 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sat, 31 Mar 2018 16:18:55 +0200 Subject: 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 --- tests/py/ip6/redirect.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/py/ip6/redirect.t') diff --git a/tests/py/ip6/redirect.t b/tests/py/ip6/redirect.t index 37169bca..778d53f3 100644 --- a/tests/py/ip6/redirect.t +++ b/tests/py/ip6/redirect.t @@ -43,7 +43,7 @@ ip6 saddr ::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 ip6 daddr fe00::1-fe00::200 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 -ip6 nexthdr 6 redirect to : tcp dport map { 22 : 8000, 80 : 8080};ok +ip6 nexthdr 6 redirect to :tcp dport map { 22 : 8000, 80 : 8080};ok -- cgit v1.2.3