Re: [PATCH nft] src: add support to flush sets

2016-12-06 Thread Anatole Denis
On lun., déc. 5, 2016 at 11:37 , Pablo Neira Ayuso wrote: You can use this new command to remove all existing elements in a set: # nft flush set filter xyz After this command, the set 'xyz' in table 'filter' becomes empty. Signed-off-by: Pablo Neira Ayuso --- include/netlink.h | 2 ++ src/

Re: [PATCH nft] src: add support to flush sets

2016-12-06 Thread Pablo Neira Ayuso
On Tue, Dec 06, 2016 at 12:13:37PM +0100, Anatole Denis wrote: > On lun., déc. 5, 2016 at 11:37 , Pablo Neira Ayuso > wrote: > >You can use this new command to remove all existing elements in a set: > > > > # nft flush set filter xyz > > > >After this command, the set 'xyz' in table 'filter' becom

[PATCH nft] src: add support to flush sets

2016-12-05 Thread Pablo Neira Ayuso
You can use this new command to remove all existing elements in a set: # nft flush set filter xyz After this command, the set 'xyz' in table 'filter' becomes empty. Signed-off-by: Pablo Neira Ayuso --- include/netlink.h | 2 ++ src/evaluate.c| 3 +++ src/netlink.c | 9 - src/r