]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: py: remove verdict from closing end interval
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 4 Nov 2021 19:28:51 +0000 (20:28 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 8 Nov 2021 09:54:32 +0000 (10:54 +0100)
commita6cc0106ac8c986030ae4d625782c6f48cea7d64
tree3d2cc7a78de91f3bf6eea97261b9a6a5ee066a2f
parentb67abc51ba6f78be79f344dfda9c6d0753d79aea
tests: py: remove verdict from closing end interval

Kernel does not allow for NFT_SET_ELEM_INTERVAL_END flag and
NFTA_SET_ELEM_DATA. The closing end interval represents a mismatch,
therefore, no verdict can be applied. The existing payload files show
the drop verdict when this is unset (because NF_DROP=0).

This update is required to fix payload warnings in tests/py after
libnftnl's ("set: use NFTNL_SET_ELEM_VERDICT to print verdict").

Fixes: 6671d9d137f6 ("mnl: Set NFTNL_SET_DATA_TYPE before dumping set elements")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/ip/ip.t.payload
tests/py/ip/ip.t.payload.bridge
tests/py/ip/ip.t.payload.inet
tests/py/ip/ip.t.payload.netdev
tests/py/ip6/vmap.t.payload.inet
tests/py/ip6/vmap.t.payload.ip6
tests/py/ip6/vmap.t.payload.netdev