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/inet/fib.t.payload | |
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/inet/fib.t.payload')
-rw-r--r-- | tests/py/inet/fib.t.payload | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/py/inet/fib.t.payload b/tests/py/inet/fib.t.payload index 1d4c3d94..050857d9 100644 --- a/tests/py/inet/fib.t.payload +++ b/tests/py/inet/fib.t.payload @@ -16,7 +16,7 @@ ip test-ip prerouting # fib daddr . iif type vmap { blackhole : drop, prohibit : drop, unicast : accept } __map%d test-ip b __map%d test-ip 0 - element 00000006 : 0 [end] element 00000008 : 0 [end] element 00000001 : 0 [end] + element 00000006 : drop 0 [end] element 00000008 : drop 0 [end] element 00000001 : accept 0 [end] ip test-ip prerouting [ fib daddr . iif type => reg 1 ] [ lookup reg 1 set __map%d dreg 0 ] |