From 2ec1c43606d751832ca1fc7c3d2353a639fde698 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 21 Jan 2021 14:51:05 +0100 Subject: 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 --- tests/py/ip/ct.t.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'tests') 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" + } + } + } + } + } + } +] -- cgit v1.2.3