This change ensures that when listing rulesets with the terse flag that the terse flag is maintained. Fixes: 6bcd0d57 ("cache: unset NFT_CACHE_SETELEM with --terse listing") Signed-off-by: Chris Arges <carges@xxxxxxxxxxxxxx> --- src/cache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cache.c b/src/cache.c index c602f93a..bc90233f 100644 --- a/src/cache.c +++ b/src/cache.c @@ -164,6 +164,7 @@ static unsigned int evaluate_cache_list(struct nft_ctx *nft, struct cmd *cmd, flags |= (NFT_CACHE_FULL & ~NFT_CACHE_SETELEM) | NFT_CACHE_REFRESH; else flags |= NFT_CACHE_FULL | NFT_CACHE_REFRESH; + break; default: flags |= NFT_CACHE_FULL | NFT_CACHE_REFRESH; break; -- 2.25.1