summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2018-03-16 17:09:12 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-03-16 17:09:38 +0100
commitca7253263a0158cafd609d924809232b562131b2 (patch)
tree1b04e2b6b6086183ac3c5993d18c2c14d1d5cf62 /tests/shell/testcases
parente7395266640aed088e312ca1da3c147b64059988 (diff)
tests: update to new syntax to add/update set from packet path
Reported-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases')
-rwxr-xr-xtests/shell/testcases/sets/0028autoselect_06
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/shell/testcases/sets/0028autoselect_0 b/tests/shell/testcases/sets/0028autoselect_0
index fdda832b..71174337 100755
--- a/tests/shell/testcases/sets/0028autoselect_0
+++ b/tests/shell/testcases/sets/0028autoselect_0
@@ -12,6 +12,6 @@ $NFT add set t s2 { type ipv4_addr \; }
$NFT add set t s3 { type ipv4_addr \; size 1024\; }
$NFT add chain t c {type filter hook input priority 0 \; }
-$NFT add rule t c meta iifname foobar set add ip protocol @s1
-$NFT add rule t c meta iifname foobar set add ip daddr @s2
-$NFT add rule t c meta iifname foobar set add ip daddr @s3
+$NFT add rule t c meta iifname foobar add @s1 { ip protocol }
+$NFT add rule t c meta iifname foobar add @s2 { ip daddr }
+$NFT add rule t c meta iifname foobar add @s3 { ip daddr }