Re: [PATCH next] iptables: on revision mismatch, do not call print/save

2017-04-21 Thread Willem de Bruijn
On Fri, Apr 21, 2017 at 4:15 PM, Jozsef Kadlecsik wrote: > Hi, > > On Thu, 8 Dec 2016, Willem de Bruijn wrote: > >> From: Willem de Bruijn >> >> Between revisions, the layout of xtables data may change completely. >> Do not interpret the data in a

Re: [PATCH next] iptables: on revision mismatch, do not call print/save

2017-04-21 Thread Jozsef Kadlecsik
Hi, On Thu, 8 Dec 2016, Willem de Bruijn wrote: > From: Willem de Bruijn > > Between revisions, the layout of xtables data may change completely. > Do not interpret the data in a revision M with a module of revision N. > > Signed-off-by: Willem de Bruijn

[nft RFC PATCH] rule: introduce new option to print set elements per line

2017-04-21 Thread Arturo Borrero Gonzalez
Add a new option to nft to print set elements per line instead of all in a single line. This is useful when printing a ruleset with very big sets. The new option is -t/--elements. Annonymous sets/maps/concats are not affected by this. The default behaviour is not changed. Example: % nft list