diff options
author | Phil Sutter <phil@nwl.cc> | 2021-02-04 02:20:23 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-03-09 14:25:41 +0100 |
commit | 6671d9d137f66c9a6044dec0206a3e989203d7b1 (patch) | |
tree | f7ac94c59c23af7b2b5f88926bff0e3dd4684d28 /tests/py/any | |
parent | 8f5f6a77c3a08d0ac83dc7249b0f211b8a675438 (diff) |
mnl: Set NFTNL_SET_DATA_TYPE before dumping set elements
In combination with libnftnl's commit "set_elem: Fix printing of verdict
map elements", This adds the vmap target to netlink dumps. Adjust dumps
in tests/py accordingly.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests/py/any')
-rw-r--r-- | tests/py/any/ct.t.payload | 2 | ||||
-rw-r--r-- | tests/py/any/meta.t.payload | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/py/any/ct.t.payload b/tests/py/any/ct.t.payload index a80e5a8d..733276e1 100644 --- a/tests/py/any/ct.t.payload +++ b/tests/py/any/ct.t.payload @@ -485,7 +485,7 @@ ip test-ip4 output # ct state . ct mark vmap { new . 0x12345678 : drop, established . 0x87654321 : accept} __map%d test-ip4 b size 2 __map%d test-ip4 0 - element 00000008 12345678 : 0 [end] element 00000002 87654321 : 0 [end] + element 00000008 12345678 : drop 0 [end] element 00000002 87654321 : accept 0 [end] ip test-ip4 output [ ct load state => reg 1 ] [ ct load mark => reg 9 ] diff --git a/tests/py/any/meta.t.payload b/tests/py/any/meta.t.payload index c3664525..99aab29c 100644 --- a/tests/py/any/meta.t.payload +++ b/tests/py/any/meta.t.payload @@ -728,7 +728,7 @@ ip test-ip4 output # meta iif . meta oif vmap { "lo" . "lo" : drop } __map%d test-ip4 b __map%d test-ip4 0 - element 00000001 00000001 : 0 [end] + element 00000001 00000001 : drop 0 [end] ip test-ip4 output [ meta load iif => reg 1 ] [ meta load oif => reg 9 ] |