diff options
author | Phil Sutter <phil@nwl.cc> | 2024-02-08 02:10:48 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2024-02-13 12:03:26 +0100 |
commit | cd4e947032a57a585b1a457ce03f546afc7ba033 (patch) | |
tree | 707211d627184edaeebac386e51e6506548739f8 /src/netlink_delinearize.c | |
parent | 8a34cca265a290a0b23cec27d5258bc432cef3d3 (diff) |
cache: Always set NFT_CACHE_TERSE for list cmd with --terse
This fixes at least 'nft -t list table ...' and 'nft -t list set ...'.
Note how --terse handling for 'list sets/maps' remains in place since
setting NFT_CACHE_TERSE does not fully undo NFT_CACHE_SETELEM: setting
both enables fetching of anonymous sets which is pointless for that
command.
Reported-by: anton.khazan@gmail.com
Link: https://bugzilla.netfilter.org/show_bug.cgi?id=1735
Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src/netlink_delinearize.c')
0 files changed, 0 insertions, 0 deletions