]> git.ipfire.org Git - thirdparty/nftables.git/commit
json: Fix for recent changes to context structs
authorPhil Sutter <phil@nwl.cc>
Wed, 24 Oct 2018 10:35:04 +0000 (12:35 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 24 Oct 2018 10:55:13 +0000 (12:55 +0200)
commit841d5f5a3deacfe7b4245df0890849d8e4ad5817
treeefdc53ae1ea90bec9d9cd9efdd9d075a11192ce2
parent0eb1b3f9a83dfbe2f3001fd3d9cec497a352b9af
json: Fix for recent changes to context structs

Commits introducing nft_ctx pointer to netlink and eval contexts did not
update JSON code accordingly.

Fixes: 00f777bfc414a ("src: pass struct nft_ctx through struct eval_ctx")
Fixes: 2dc07bcd7eaa5 ("src: pass struct nft_ctx through struct netlink_ctx")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/json.c
src/parser_json.c