netfilter: ipset: Fix the order of listing of sets
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Tue, 19 Apr 2011 13:59:15 +0000 (15:59 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 19 Apr 2011 13:59:15 +0000 (15:59 +0200)
commita8a8a0937e22a5fd55aeb22586724ba6bb70aadd
tree28e610c98f0f71e42e9676fc3e3e6bb9fe112056
parenteafbd3fde6fc5ada0d61307367e408813b04928a
netfilter: ipset: Fix the order of listing of sets

A restoreable saving of sets requires that list:set type of sets
come last and the code part which should have taken into account
the ordering was broken. The patch fixes the listing order.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/ipset/ip_set_core.c