diff options
author | Florian Westphal <fw@strlen.de> | 2016-01-24 13:37:10 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2016-01-26 14:31:30 +0100 |
commit | 7ecca3b785a67c5783ca61119d4490963837b0f0 (patch) | |
tree | 26b3eb2da217dbf6b76e0067b9c0506dadc9caff /tests/py/inet/map.t | |
parent | 1441728b56f3ed8288b7b3bab0422adf1f90cecc (diff) |
netlink: do binop postprocessing also for map lookups
old nft list:
mark set unknown unknown & 0xfff [invalid type] map { 3 : 0x00000017, 1 : 0x0000002a}
new:
mark set vlan id map { 3 : 0x00000017, 1 : 0x0000002a}
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet/map.t')
-rw-r--r-- | tests/py/inet/map.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/py/inet/map.t b/tests/py/inet/map.t index f48afcd2..5075540b 100644 --- a/tests/py/inet/map.t +++ b/tests/py/inet/map.t @@ -6,3 +6,4 @@ *netdev;test-netdev;ingress mark set ip saddr map { 10.2.3.2 : 0x0000002a, 10.2.3.1 : 0x00000017};ok;mark set ip saddr map { 10.2.3.1 : 0x00000017, 10.2.3.2 : 0x0000002a} +mark set ip hdrlength map { 5 : 0x00000017, 4 : 0x00000001};ok;mark set ip hdrlength map { 4 : 0x00000001, 5 : 0x00000017} |