diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2019-07-19 12:10:10 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-07-22 23:31:20 +0200 |
commit | f4d0f16834f62e7e895f05f2e961d62487327f4b (patch) | |
tree | faad6de5f1740122f42779268fb85885b3835c09 /src/rule.c | |
parent | fc6d0f8b0cb1895effd5248020906941d100d7b7 (diff) |
rule: removed duplicate member initializer.
Initialization of a netlink_ctx included two initializers for .nft.
Removed one of them.
Fixes: 2dc07bcd7eaa ("src: pass struct nft_ctx through struct netlink_ctx")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Acked-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rule.c')
-rw-r--r-- | src/rule.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -240,7 +240,6 @@ int cache_update(struct nft_ctx *nft, unsigned int flags, struct list_head *msgs .list = LIST_HEAD_INIT(ctx.list), .nft = nft, .msgs = msgs, - .nft = nft, }; struct nft_cache *cache = &nft->cache; uint32_t genid, genid_stop; |