Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cache: do not skip populating anonymous set with -t | Pablo Neira Ayuso | 2021-11-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | --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> | ||||
* | tests: shell: add testcase for --terse | Pablo Neira Ayuso | 2021-10-28 | 1 | -0/+69 |
Compare listing with and without --terse for: nft list ruleset nft list set x y Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |