From: Florian Westphal Date: Thu, 21 Jan 2021 13:51:05 +0000 (+0100) Subject: json: ct: add missing rule X-Git-Tag: v0.9.9~147 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ec1c43606d751832ca1fc7c3d2353a639fde698;p=thirdparty%2Fnftables.git 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 --- 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" + } + } + } + } + } + } +]