]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxtables: store all requested match types
authorFlorian Westphal <fw@strlen.de>
Fri, 11 May 2018 21:17:15 +0000 (23:17 +0200)
committerFlorian Westphal <fw@strlen.de>
Sun, 13 May 2018 23:24:26 +0000 (01:24 +0200)
commit1a696c99d278ca3fe551d891d21459cac6382aab
tree8ab3b10ca238099c880c0372a920c530e0f88edb
parentbb436ceb489c77c81074b3460ff11b62e8704695
libxtables: store all requested match types

iptables and ip6tables don't need this because iptables is AF_INET,
ip6tables AF_INET6, etc.

But tools that can change af in-between such as nftables will then
may then find to find such module.

One example is conntrack, it offsers NFPROTO_IPV4 and NFPROTO_IPV6.
When first loading with NFPROTO_IPV6, the IPV4 would be discarded.

Signed-off-by: Florian Westphal <fw@strlen.de>
libxtables/xtables.c