summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/sets.t.payload.ip
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.payload.ip
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.payload.ip')
-rw-r--r--tests/py/ip/sets.t.payload.ip2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/py/ip/sets.t.payload.ip b/tests/py/ip/sets.t.payload.ip
index a7831745..ca3b5ade 100644
--- a/tests/py/ip/sets.t.payload.ip
+++ b/tests/py/ip/sets.t.payload.ip
@@ -29,7 +29,7 @@ ip test-ip4 input
[ lookup reg 1 set set5 ]
[ immediate reg 0 drop ]
-# set add ip saddr . ip daddr @set5
+# add @set5 { ip saddr . ip daddr }
ip test-ip4 input
[ payload load 4b @ network header + 12 => reg 1 ]
[ payload load 4b @ network header + 16 => reg 9 ]