summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/masquerade.t.payload
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-02-04 02:20:23 +0100
committerPhil Sutter <phil@nwl.cc>2021-03-09 14:25:41 +0100
commit6671d9d137f66c9a6044dec0206a3e989203d7b1 (patch)
treef7ac94c59c23af7b2b5f88926bff0e3dd4684d28 /tests/py/ip/masquerade.t.payload
parent8f5f6a77c3a08d0ac83dc7249b0f211b8a675438 (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/ip/masquerade.t.payload')
-rw-r--r--tests/py/ip/masquerade.t.payload2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/py/ip/masquerade.t.payload b/tests/py/ip/masquerade.t.payload
index c4870ab8..79e52856 100644
--- a/tests/py/ip/masquerade.t.payload
+++ b/tests/py/ip/masquerade.t.payload
@@ -112,7 +112,7 @@ ip test-ip4 postrouting
# iifname "eth0" ct state established,new tcp dport vmap {22 : drop, 222 : drop } masquerade
__map%d test-ip4 b
__map%d test-ip4 0
- element 00001600 : 0 [end] element 0000de00 : 0 [end]
+ element 00001600 : drop 0 [end] element 0000de00 : drop 0 [end]
ip test-ip4 postrouting
[ meta load iifname => reg 1 ]
[ cmp eq reg 1 0x30687465 0x00000000 0x00000000 0x00000000 ]