summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/sets.t
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/py/ip/sets.t
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/py/ip/sets.t')
-rw-r--r--tests/py/ip/sets.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/py/ip/sets.t b/tests/py/ip/sets.t
index b159ad8d..658579aa 100644
--- a/tests/py/ip/sets.t
+++ b/tests/py/ip/sets.t
@@ -49,7 +49,7 @@ ip saddr != @set33 drop;fail
!set5 type ipv4_addr . ipv4_addr;ok
ip saddr . ip daddr @set5 drop;ok
-set add ip saddr . ip daddr @set5;ok
+add @set5 { ip saddr . ip daddr };ok
# test nested anonymous sets
ip saddr { { 1.1.1.0, 3.3.3.0 }, 2.2.2.0 };ok;ip saddr { 1.1.1.0, 2.2.2.0, 3.3.3.0 }