diff options
author | Florian Westphal <fw@strlen.de> | 2018-05-11 23:17:16 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-05-14 01:25:28 +0200 |
commit | fbc0768cb69686d00035456f1e9e0613927b1d4f (patch) | |
tree | 3eb0d73a4cbd4c110c5a24a1614305145593d2d7 /src/libnftables.c | |
parent | 3b71baba43fa1ce53fa034257b17954e05c230fb (diff) |
nftables: xt: don't use hard-coded AF_INET
We need to check which revision type is requested (match, target)
and wheter its ipv4 or ipv6, then set family based on that.
This allows nft ipv6 family to display compat entries if a translation
is available.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/libnftables.c')
0 files changed, 0 insertions, 0 deletions