From 6dd848339444fecf95122579c1a1fe944a819b6d Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Tue, 3 Jul 2018 16:16:51 +0200 Subject: src: meta: always prefix 'meta' for almost all tokens got following bug report: nft add ... ct mark set mark and 0x10 ... always sets 0. What reporter meant to write instead was 'ct mark', not 'mark'. We can't just remove support for 'mark' and force 'meta mark', but we can start to discourage it by printing meta prefix too. Later on, we could start to print deprecation warning if needed. Followup patch can also change "iifname" etc. to "meta iifname". Signed-off-by: Florian Westphal --- tests/py/any/dup.t.payload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/py/any/dup.t.payload') diff --git a/tests/py/any/dup.t.payload b/tests/py/any/dup.t.payload index 4a615b2f..51ff782c 100644 --- a/tests/py/any/dup.t.payload +++ b/tests/py/any/dup.t.payload @@ -3,7 +3,7 @@ netdev test-netdev ingress [ immediate reg 1 0x00000001 ] [ dup sreg_dev 1 ] -# dup to mark map { 0x00000001 : "lo", 0x00000002 : "lo"} +# dup to meta mark map { 0x00000001 : "lo", 0x00000002 : "lo"} __map%d test-netdev b __map%d test-netdev 0 element 00000001 : 00000001 0 [end] element 00000002 : 00000001 0 [end] -- cgit v1.2.3