summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2019-07-19 12:10:10 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-07-22 23:31:20 +0200
commitf4d0f16834f62e7e895f05f2e961d62487327f4b (patch)
treefaad6de5f1740122f42779268fb85885b3835c09 /src
parentfc6d0f8b0cb1895effd5248020906941d100d7b7 (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')
-rw-r--r--src/rule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rule.c b/src/rule.c
index b957b457..0ebe91e7 100644
--- a/src/rule.c
+++ b/src/rule.c
@@ -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;