]> git.ipfire.org Git - thirdparty/nftables.git/commit
rule: missing set cleanup in do_command_list
authorPhil Oester <kernel@linuxace.com>
Sat, 30 Nov 2013 20:15:52 +0000 (12:15 -0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 30 Nov 2013 20:49:40 +0000 (21:49 +0100)
commitaf979654f9098232b18c6f3c3b40c54143d13629
tree12fe580e83165735a60c2c71d7412afe1481dd8e
parent44fc6f216c3a3ea1698ca0e20448357a94fa4adc
rule: missing set cleanup in do_command_list

When listing a table in interactive mode, the set list is not cleaned up.  Thus
the number of displayed sets grows with each successive listing.  Attached
patch adds the necessary list cleanup to do_command_list.

Reported-by: Bjørnar Ness <bjornar.ness@gmail.com>
Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/rule.c