Message ID | 20210121135510.14941-4-fw@strlen.de |
---|---|
State | Accepted, archived |
Headers | show |
Series | json test case fixups | expand |
On Thu, Jan 21, 2021 at 02:55:09PM +0100, Florian Westphal wrote: > 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> Fixes: 8b043938e77b1 ("evaluate: disallow ct original {s,d}ddr from maps") Acked-by: Phil Sutter <phil@nwl.cc>
diff --git a/tests/py/ip/ct.t.json b/tests/py/ip/ct.t.json index 881cd4c942c1..d942649a550f 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" + } + } + } + } + } + } +]
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> --- tests/py/ip/ct.t.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+)