]> git.ipfire.org Git - thirdparty/ipset.git/commit
Support the -exist flag with the destroy command
authorJozsef Kadlecsik <kadlec@netfilter.org>
Sun, 20 Sep 2020 11:06:59 +0000 (13:06 +0200)
committerJozsef Kadlecsik <kadlec@netfilter.org>
Sun, 20 Sep 2020 11:09:41 +0000 (13:09 +0200)
commit3d5ffca9db521d5bd8868760ee1c5263e0d25c1d
tree41bcd23dc0dbd9d7a0c42e8a1f8085e8c13ee53f
parent514bd1d1234ce9bab49244cf638dff8c894940a1
Support the -exist flag with the destroy command

The -exist flag was supported with the create, add and delete commands.
In order to gracefully handle the destroy command with nonexistent sets,
the -exist flag is added to destroy too.

Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
kernel/net/netfilter/ipset/ip_set_core.c
lib/mnl.c