diff options
author | Phil Sutter <phil@nwl.cc> | 2018-07-19 18:31:56 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-07-19 22:18:06 +0200 |
commit | 05894576bf78e8f3ec4e816ffc908a2dbced0350 (patch) | |
tree | 7a9156c86431a3cf94230f6046171fe066ca350c /iptables/nft-shared.h | |
parent | d9c6a5d0977a6d8bbe772dbc31a2c4f58eec1708 (diff) |
xtables: simplify struct nft_xt_ctx
Replace union 'state' by its sole member.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/nft-shared.h')
-rw-r--r-- | iptables/nft-shared.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/iptables/nft-shared.h b/iptables/nft-shared.h index 18927a29..2ad1ae6b 100644 --- a/iptables/nft-shared.h +++ b/iptables/nft-shared.h @@ -47,9 +47,7 @@ enum { }; struct nft_xt_ctx { - union { - struct iptables_command_state *cs; - } state; + struct iptables_command_state *cs; struct nftnl_expr_iter *iter; int family; uint32_t flags; |