diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-11-18 17:25:36 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-11-18 20:26:00 +0100 |
commit | 8492878961248b4b53fa97383c7c1b15d7062947 (patch) | |
tree | 0868d24a5cf72444d49553cf90af2a1724b1568a /tests/shell/testcases/optionals/comments_table_0 | |
parent | 168e4e29e3b8bc9fc0563c8d5170575e868f5a21 (diff) |
cache: do not skip populating anonymous set with -t
--terse does not apply to anonymous set, add a NFT_CACHE_TERSE bit
to skip named sets only.
Moreover, prioritize specific listing filter over --terse to avoid a
bogus:
netlink: Error: Unknown set '__set0' in lookup expression
when invoking:
# nft -ta list set inet filter example
Extend existing test to improve coverage.
Fixes: 9628d52e46ac ("cache: disable NFT_CACHE_SETELEM_BIT on --terse listing only")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/optionals/comments_table_0')
0 files changed, 0 insertions, 0 deletions