diff options
author | Florian Westphal <fw@strlen.de> | 2021-01-21 14:51:05 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2021-01-21 14:51:05 +0100 |
commit | 2ec1c43606d751832ca1fc7c3d2353a639fde698 (patch) | |
tree | 5e45d52bf8aa27ce83eb4d6a9971b422b1e07f62 /tests/py | |
parent | acea765af76e0d28922437d45b9e0efaa95c1db7 (diff) |
json: ct: add missing rule
ERROR: did not find JSON equivalent for rule 'meta mark set ct original ip daddr map { 1.1.1.1 : 0x00000011 }'
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py')
-rw-r--r-- | tests/py/ip/ct.t.json | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/py/ip/ct.t.json b/tests/py/ip/ct.t.json index 881cd4c9..d942649a 100644 --- a/tests/py/ip/ct.t.json +++ b/tests/py/ip/ct.t.json @@ -216,3 +216,33 @@ } ] +# meta mark set ct original ip daddr map { 1.1.1.1 : 0x00000011 } +[ + { + "mangle": { + "key": { + "meta": { + "key": "mark" + } + }, + "value": { + "map": { + "data": { + "set": [ + [ + "1.1.1.1", + 17 + ] + ] + }, + "key": { + "ct": { + "dir": "original", + "key": "ip daddr" + } + } + } + } + } + } +] |