]> git.ipfire.org Git - thirdparty/iptables.git/commit
extensions: libxt_set, libxt_SET: check the set family too
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Wed, 4 Sep 2013 15:43:49 +0000 (17:43 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 18 Nov 2013 17:47:32 +0000 (18:47 +0100)
commitcf1f03f8f3cf2db577a9ddee254cc7f886129d18
tree6c9c40726b8a428b217af6c7e89fc18d4040a8fc
parent9e6928f037823773a37630dec5a764455dcea6fb
extensions: libxt_set, libxt_SET: check the set family too

Do not accept silently sets with wrong protocol family but reject
them with an error message. It makes straightforward to catch user
errors.

[ Use afinfo instead to avoid a binary interface update --pablo ]

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
extensions/libxt_set.h
include/linux/netfilter/ipset/ip_set.h