Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > On Sun, Jun 18, 2023 at 06:39:45PM +0200, Florian Westphal wrote: > > Make "nft list sets" include set elements in listing by default. > > In nftables 1.0.0, "nft list sets" did not include the set elements, > > but with "--json" they were included. > > > > 1.0.1 and newer never include them. > > This causes a problem for people updating from 1.0.0 and relying > > on the presence of the set elements. > > > > Change nftables to always include the set elements. > > The "--terse" option is honored to get the "no elements" behaviour. I pushed this patch to master, with a minor change (removal of no-longer needed fmt struct).