]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: shell: fix 0012different_defines_0 with meta mark
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 14 Aug 2018 13:32:06 +0000 (15:32 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 14 Aug 2018 14:17:37 +0000 (16:17 +0200)
Since 6dd848339444 ("src: meta: always prefix 'meta' for almost all
tokens"), the unqualified meta are discouraged. Adjust test not to fail.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/nft-f/dumps/0012different_defines_0.nft

index e9eef4b13efd7cd9d442a67fc66197086fd48519..c67d25b64172bf90165e0e49724f6b71d518032a 100644 (file)
@@ -1,7 +1,7 @@
 table inet t {
        chain c {
                iifname "whatever" oifname "whatever" iif "lo" oif "lo"
-               iifname { "whatever" } iif { "lo" } mark 0x0000007b
+               iifname { "whatever" } iif { "lo" } meta mark 0x0000007b
                ct state established,related,new
                ct state != established | related | new
                ip saddr 10.0.0.0 ip saddr 10.0.0.0 ip daddr 10.0.0.2